Skip to content

Commit

Permalink
[rutube] Extract m3u8 formats (fixes #3984)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimeMF committed Dec 1, 2014
1 parent c41a965 commit 05177b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions youtube_dl/extractor/rutube.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ def _real_extract(self, url):
m3u8_url = options['video_balancer'].get('m3u8')
if m3u8_url is None:
raise ExtractorError('Couldn\'t find m3u8 manifest url')
formats = self._extract_m3u8_formats(m3u8_url, video_id, ext='mp4')

return {
'id': video['id'],
'title': video['title'],
'description': video['description'],
'duration': video['duration'],
'view_count': video['hits'],
'url': m3u8_url,
'ext': 'mp4',
'formats': formats,
'thumbnail': video['thumbnail_url'],
'uploader': author.get('name'),
'uploader_id': compat_str(author['id']) if author else None,
Expand Down

0 comments on commit 05177b3

Please sign in to comment.