mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 14:14:54 +01:00
[vlive:channel] Limit number of videos per page to 100 (closes #13830)
This commit is contained in:
parent
1d5472290f
commit
f172c86dcd
|
@ -236,7 +236,12 @@ def _real_extract(self, url):
|
||||||
query={
|
query={
|
||||||
'app_id': app_id,
|
'app_id': app_id,
|
||||||
'channelSeq': channel_seq,
|
'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()),
|
'_': int(time.time()),
|
||||||
'pageNo': page_num
|
'pageNo': page_num
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user