diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-05-25 21:27:43 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-05-25 21:27:43 +0600 |
commit | ba2df04b41b62d08e1fd0efaaaf104467133e9a5 (patch) | |
tree | 0522c005d5d2c3d0c5facaf76436c71ca2b28833 /youtube_dl/extractor | |
parent | c6bbdadd79fac001cde15e8fd118b9535427474d (diff) |
[odnoklassniki] Make URL explicit
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/odnoklassniki.py | 3 |
1 files changed, 2 insertions, 1 deletions
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( |