Skip to content
Snippets Groups Projects
Unverified Commit f17d7786 authored by nao20010128nao's avatar nao20010128nao
Browse files

[ok.ru] fix a little

parent 9d6cab78
No related merge requests found
......@@ -281,8 +281,7 @@ def _extract_desktop(self, url):
if payment_info:
self.raise_no_formats('This video is paid, subscribe to download it', expected=True)
if False:
self._sort_formats(formats)
self._sort_formats(formats)
info['formats'] = formats
return info
......@@ -314,6 +313,5 @@ def _extract_mobile(self, url):
'format_id': 'mobile',
'url': json_data.get('videoSrc'),
'ext': 'mp4',
'source_preference': -1,
}]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment