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

pull/8/head
Sergey M․ 2015-09-02 21:36:22 +06:00
rodzic 8f9d522f62
commit 198492bbf0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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']