mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -08:00
Update odnoklassniki.py
This commit is contained in:
parent
541557124d
commit
4045fa9d9a
@ -119,8 +119,7 @@ class OdnoklassnikiIE(InfoExtractor):
|
||||
# Paid video
|
||||
'url': 'https://ok.ru/video/954886983203',
|
||||
'only_matching': True,
|
||||
}
|
||||
]
|
||||
}]
|
||||
|
||||
def _real_extract(self, url):
|
||||
start_time = int_or_none(compat_parse_qs(
|
||||
@ -255,5 +254,6 @@ class OdnoklassnikiIE(InfoExtractor):
|
||||
raise ExtractorError('This video is paid, subscribe to download it', expected=True)
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
info['formats'] = formats
|
||||
return info
|
||||
|
Loading…
x
Reference in New Issue
Block a user