1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-08 22:33:34 +08:00

[ok] Extract correct data-options (Closes #6726)

This commit is contained in:
Sergey M․
2015-09-02 21:36:22 +06:00
Unverified
parent 8f9d522f62
commit 198492bbf0
+1 -1
View File
@@ -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']