From 198492bbf0e497079158bdf9ff94df3c91d6f3b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Wed, 2 Sep 2015 21:36:22 +0600 Subject: [PATCH] [ok] Extract correct data-options (Closes #6726) --- youtube_dl/extractor/odnoklassniki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ def _real_extract(self, url): 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']