1
0
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:
Sergey M 2019-01-20 15:14:04 +07:00 committed by GitHub
parent 541557124d
commit 4045fa9d9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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