projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f9d522
)
[ok] Extract correct data-options (Closes #6726)
author
Sergey M․
<dstftw@gmail.com>
Wed, 2 Sep 2015 15:36:22 +0000
(21:36 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 2 Sep 2015 15:36:22 +0000
(21:36 +0600)
youtube_dl/extractor/odnoklassniki.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/odnoklassniki.py
b/youtube_dl/extractor/odnoklassniki.py
index f552e6f7e6d49dd5ba0c20b74c9520866e4ab059..97900a4c393c3011366cf7c0b5e7183c2a02f100 100644
(file)
--- a/
youtube_dl/extractor/odnoklassniki.py
+++ b/
youtube_dl/extractor/odnoklassniki.py
@@
-59,7
+59,7
@@
class OdnoklassnikiIE(InfoExtractor):
player = self._parse_json(
unescapeHTML(self._search_regex(
- r'data-options="([^"]+
)"'
, webpage, 'player')),
+ r'data-options="([^"]+
%s[^"]+)"' % video_id
, webpage, 'player')),
video_id)
flashvars = player['flashvars']