diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-08-05 21:17:55 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-08-05 21:17:55 +0700 |
commit | f172c86dcdb46e484afc63732db56df5633028ae (patch) | |
tree | db632cc4454e0d312a03f6fe85e08eb93b1b8cdd /youtube_dl | |
parent | 1d5472290f8c426c13e3403cb95fd44cc71b5a9b (diff) |
[vlive:channel] Limit number of videos per page to 100 (closes #13830)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/vlive.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vlive.py b/youtube_dl/extractor/vlive.py index 77c120a57..64d0224e6 100644 --- 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 } |