diff options
Diffstat (limited to 'youtube_dl/extractor/twitch.py')
| -rw-r--r-- | youtube_dl/extractor/twitch.py | 18 | 
1 files changed, 9 insertions, 9 deletions
| diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py index 94bd6345d..b56ee2959 100644 --- a/youtube_dl/extractor/twitch.py +++ b/youtube_dl/extractor/twitch.py @@ -189,17 +189,17 @@ class TwitchVodIE(TwitchItemBaseIE):      _ITEM_SHORTCUT = 'v'      _TEST = { -        'url': 'http://www.twitch.tv/ksptv/v/3622000', +        'url': 'http://www.twitch.tv/riotgames/v/6528877',          'info_dict': { -            'id': 'v3622000', +            'id': 'v6528877',              'ext': 'mp4', -            'title': '''KSPTV: Squadcast: "Everyone's on vacation so here's Dahud" Edition!''', +            'title': 'LCK Summer Split - Week 6 Day 1',              'thumbnail': 're:^https?://.*\.jpg$', -            'duration': 6951, -            'timestamp': 1419028564, -            'upload_date': '20141219', -            'uploader': 'KSPTV', -            'uploader_id': 'ksptv', +            'duration': 17208, +            'timestamp': 1435131709, +            'upload_date': '20150624', +            'uploader': 'Riot Games', +            'uploader_id': 'riotgames',              'view_count': int,          },          'params': { @@ -215,7 +215,7 @@ class TwitchVodIE(TwitchItemBaseIE):              '%s/api/vods/%s/access_token' % (self._API_BASE, item_id), item_id,              'Downloading %s access token' % self._ITEM_TYPE)          formats = self._extract_m3u8_formats( -            '%s/vod/%s?nauth=%s&nauthsig=%s' +            '%s/vod/%s?nauth=%s&nauthsig=%s&allow_source=true'              % (self._USHER_BASE, item_id, access_token['token'], access_token['sig']),              item_id, 'mp4')          self._prefer_source(formats) | 
