mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-23 06:57:54 +01:00
[ok] Extract correct data-options (Closes #6726)
This commit is contained in:
parent
8f9d522f62
commit
198492bbf0
@ -59,7 +59,7 @@ class OdnoklassnikiIE(InfoExtractor):
|
|||||||
|
|
||||||
player = self._parse_json(
|
player = self._parse_json(
|
||||||
unescapeHTML(self._search_regex(
|
unescapeHTML(self._search_regex(
|
||||||
r'data-options="([^"]+)"', webpage, 'player')),
|
r'data-options="([^"]+%s[^"]+)"' % video_id, webpage, 'player')),
|
||||||
video_id)
|
video_id)
|
||||||
|
|
||||||
flashvars = player['flashvars']
|
flashvars = player['flashvars']
|
||||||
|
Loading…
Reference in New Issue
Block a user