commit dec2cae0a768d2eb1f7d28cfd267d0bf5383bcdd
parent cf6cd07396479940bbf9ca71778a72807208fabb
Author: Sergey M․ <dstftw@gmail.com>
Date: Tue, 15 Mar 2016 21:45:43 +0600
[twitch:playlistbase] Clarify pagination bug
Pagination bug has been fixed by twitch on 15.03.2016.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py
@@ -299,9 +299,10 @@ class TwitchPlaylistBaseIE(TwitchBaseIE):
# is completely broken on the twitch side. It simply ignores
# a limit and returns the whole offset number of videos.
# Working around by just requesting all videos at once.
+ # Upd: pagination bug was fixed by twitch on 15.03.2016.
if not broken_paging_detected and total and len(page_entries) > limit:
self.report_warning(
- 'Twitch paging is broken on twitch side, requesting all videos at once',
+ 'Twitch pagination is broken on twitch side, requesting all videos at once',
channel_id)
broken_paging_detected = True
offset = total