projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d54722
)
[vlive:channel] Limit number of videos per page to 100 (closes #13830)
author
Sergey M․
<dstftw@gmail.com>
Sat, 5 Aug 2017 14:17:55 +0000
(21:17 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 5 Aug 2017 14:17:55 +0000
(21:17 +0700)
youtube_dl/extractor/vlive.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vlive.py
b/youtube_dl/extractor/vlive.py
index 77c120a57d45fda4bf49aedc704413313592e3d5..64d0224e6f92779c68e2170564c2b1ad459269ed 100644
(file)
--- a/
youtube_dl/extractor/vlive.py
+++ b/
youtube_dl/extractor/vlive.py
@@
-236,7
+236,12
@@
class VLiveChannelIE(InfoExtractor):
query={
'app_id': app_id,
'channelSeq': channel_seq,
- 'maxNumOfRows': 1000,
+ # Large values of maxNumOfRows (~300 or above) may cause
+ # empty responses (see [1]), e.g. this happens for [2] that
+ # has more than 300 videos.
+ # 1. https://github.com/rg3/youtube-dl/issues/13830
+ # 2. http://channels.vlive.tv/EDBF.
+ 'maxNumOfRows': 100,
'_': int(time.time()),
'pageNo': page_num
}