aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/twitch.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-15 21:45:43 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-15 21:45:43 +0600
commitdec2cae0a768d2eb1f7d28cfd267d0bf5383bcdd (patch)
tree3890dd0de6bf15fa0f544dafa07a1a1b5099b26f /youtube_dl/extractor/twitch.py
parentcf6cd07396479940bbf9ca71778a72807208fabb (diff)
downloadyoutube-dl-dec2cae0a768d2eb1f7d28cfd267d0bf5383bcdd.zip
youtube-dl-dec2cae0a768d2eb1f7d28cfd267d0bf5383bcdd.tar.gz
youtube-dl-dec2cae0a768d2eb1f7d28cfd267d0bf5383bcdd.tar.bz2
[twitch:playlistbase] Clarify pagination bug
Pagination bug has been fixed by twitch on 15.03.2016.
Diffstat (limited to 'youtube_dl/extractor/twitch.py')
-rw-r--r--youtube_dl/extractor/twitch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py
index 958bf8f..d4169ec 100644
--- 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