Browse Source

[reddit] Sort formats (closes #14430)

master
Sergey M․ 7 years ago
parent
commit
665f42d8c1
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 0 deletions
  1. 2
      youtube_dl/extractor/reddit.py

2
youtube_dl/extractor/reddit.py

@ -35,6 +35,8 @@ class RedditIE(InfoExtractor):
'https://v.redd.it/%s/DASHPlaylist.mpd' % video_id, video_id,
mpd_id='dash', fatal=False))
self._sort_formats(formats)
return {
'id': video_id,
'title': video_id,

Loading…
Cancel
Save