Browse Source

[odnoklassniki] Make URL explicit

master
Sergey M․ 9 years ago
parent
commit
ba2df04b41
1 changed files with 2 additions and 1 deletions
  1. 3
      youtube_dl/extractor/odnoklassniki.py

3
youtube_dl/extractor/odnoklassniki.py

@ -47,7 +47,8 @@ class OdnoklassnikiIE(InfoExtractor):
def _real_extract(self, url): def _real_extract(self, url):
video_id = self._match_id(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( player = self._parse_json(
unescapeHTML(self._search_regex( unescapeHTML(self._search_regex(

Loading…
Cancel
Save