mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-11 00:27:15 +08:00
Aplly comment
This commit is contained in:
parent
0e3e9bd435
commit
541557124d
@ -249,12 +249,11 @@ class OdnoklassnikiIE(InfoExtractor):
|
|||||||
'ext': 'flv',
|
'ext': 'flv',
|
||||||
})
|
})
|
||||||
|
|
||||||
self._sort_formats(formats)
|
|
||||||
|
|
||||||
if not formats:
|
if not formats:
|
||||||
payment_info = metadata.get('paymentInfo')
|
payment_info = metadata.get('paymentInfo')
|
||||||
if payment_info:
|
if payment_info:
|
||||||
raise ExtractorError('This video is paid, subscribe to download it', expected=True)
|
raise ExtractorError('This video is paid, subscribe to download it', expected=True)
|
||||||
|
|
||||||
|
self._sort_formats(formats)
|
||||||
info['formats'] = formats
|
info['formats'] = formats
|
||||||
return info
|
return info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user