From: Sergey M․ Date: Mon, 25 May 2015 15:27:43 +0000 (+0600) Subject: [odnoklassniki] Make URL explicit X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=ba2df04b41b62d08e1fd0efaaaf104467133e9a5;p=youtube-dl [odnoklassniki] Make URL explicit --- diff --git a/youtube_dl/extractor/odnoklassniki.py b/youtube_dl/extractor/odnoklassniki.py index 691f503f5..6c7149fe3 100644 --- a/youtube_dl/extractor/odnoklassniki.py +++ b/youtube_dl/extractor/odnoklassniki.py @@ -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(