From 8aff7b9bc47795288c65399d6fcac7a8c48004e9 Mon Sep 17 00:00:00 2001 From: dst Date: Wed, 4 Dec 2013 12:36:12 +0700 Subject: [PATCH] [smotri] Fix broadcast ticket regex --- youtube_dl/extractor/smotri.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/smotri.py b/youtube_dl/extractor/smotri.py index f86ee8388..ff539ea0c 100644 --- a/youtube_dl/extractor/smotri.py +++ b/youtube_dl/extractor/smotri.py @@ -302,7 +302,7 @@ class SmotriBroadcastIE(InfoExtractor): adult_content = False ticket = self._html_search_regex( - u'window.broadcast_control.addFlashVar\\(\'file\', \'([^\']+)\'\\);', + u'window\.broadcast_control\.addFlashVar\\(\'file\', \'([^\']+)\'\\);', broadcast_page, u'broadcast ticket') url = 'http://smotri.com/broadcast/view/url/?ticket=%s' % ticket