[twitch:playlistbase] Fix all at once fetch
authorSergey M․ <dstftw@gmail.com>
Thu, 3 Mar 2016 16:18:32 +0000 (22:18 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 3 Mar 2016 16:18:32 +0000 (22:18 +0600)
youtube_dl/extractor/twitch.py

index 0cf240e1e532b74d2a1b7d05a5c1943cde62ec9e..8639293e35a79875c40b3933b5531381c2b3d077 100644 (file)
@@ -303,8 +303,7 @@ class TwitchPlaylistBaseIE(TwitchBaseIE):
                     'Twitch paging is broken on twitch side, requesting all videos at once',
                     channel_id)
                 broken_paging_detected = True
-                limit = total
-                offset = 0
+                offset = total
                 counter_override = '(all at once)'
                 continue
             entries.extend(page_entries)