X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fradiojavan.py;h=ec4fa6e602ea779dd6d3a530ea6cfb639eee3cf4;hb=dff5107b68132c63ea6b46de5be656ce5a92c959;hp=c9eda9b53985ee829b92e525d76de41b78a3f28e;hpb=4e8cc1e973da2656c46c5df84d4e85c5d78836ac;p=youtube-dl diff --git a/youtube_dl/extractor/radiojavan.py b/youtube_dl/extractor/radiojavan.py index c9eda9b53..ec4fa6e60 100644 --- a/youtube_dl/extractor/radiojavan.py +++ b/youtube_dl/extractor/radiojavan.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals import re from .common import InfoExtractor -from ..utils import( +from ..utils import ( unified_strdate, str_to_int, ) @@ -36,6 +36,7 @@ class RadioJavanIE(InfoExtractor): 'format_id': '%sp' % height, 'height': int(height), } for height, video_path in re.findall(r"RJ\.video(\d+)p\s*=\s*'/?([^']+)'", webpage)] + self._sort_formats(formats) title = self._og_search_title(webpage) thumbnail = self._og_search_thumbnail(webpage)