[twitch:past_broadcasts] Fix IE_NAME
authorSergey M․ <dstftw@gmail.com>
Wed, 21 Jan 2015 17:06:16 +0000 (23:06 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 21 Jan 2015 17:06:16 +0000 (23:06 +0600)
youtube_dl/extractor/twitch.py

index f70002f68495e3e910586fc7ddeccc74523ab665..8866e5182af073a5337f8e788d9ecee99a5b42ea 100644 (file)
@@ -241,7 +241,7 @@ class TwitchProfileIE(TwitchPlaylistBaseIE):
 
 
 class TwitchPastBroadcastsIE(TwitchPlaylistBaseIE):
-    IE_NAME = 'twitch:profile'
+    IE_NAME = 'twitch:past_broadcasts'
     _VALID_URL = r'%s/(?P<id>[^/]+)/profile/past_broadcasts/?(?:\#.*)?$' % TwitchBaseIE._VALID_URL_BASE
     _PLAYLIST_URL = TwitchPlaylistBaseIE._PLAYLIST_URL + '&broadcasts=true'
     _PLAYLIST_TYPE = 'past broadcasts'