projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6bbdad
)
[odnoklassniki] Make URL explicit
author
Sergey M․
<dstftw@gmail.com>
Mon, 25 May 2015 15:27:43 +0000
(21:27 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 25 May 2015 15:27:43 +0000
(21:27 +0600)
youtube_dl/extractor/odnoklassniki.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/odnoklassniki.py
b/youtube_dl/extractor/odnoklassniki.py
index 691f503f5452c567b47824e56e83edffcd94c84c..6c7149fe3859732978d34356f8c18aca14e74f63 100644
(file)
--- 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(