diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-09-02 21:36:22 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-09-02 21:36:22 +0600 |
commit | 198492bbf0e497079158bdf9ff94df3c91d6f3b7 (patch) | |
tree | a4cfd4c212c07d37ef044fd1005c47ec79f6c495 | |
parent | 8f9d522f6252f874d41045b2458256ca8cf1a312 (diff) |
[ok] Extract correct data-options (Closes #6726)
-rw-r--r-- | youtube_dl/extractor/odnoklassniki.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/odnoklassniki.py b/youtube_dl/extractor/odnoklassniki.py index f552e6f7e..97900a4c3 100644 --- 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'] |