1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 15:45:11 +08:00

[odnoklassniki] Make URL explicit

This commit is contained in:
Sergey M․ 2015-05-25 21:27:43 +06:00
parent c6bbdadd79
commit ba2df04b41

View File

@ -47,7 +47,8 @@ class OdnoklassnikiIE(InfoExtractor):
def _real_extract(self, url):
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
webpage = self._download_webpage(
'http://ok.ru/video/%s' % video_id, video_id)
player = self._parse_json(
unescapeHTML(self._search_regex(