From: dst Date: Wed, 4 Dec 2013 05:36:12 +0000 (+0700) Subject: [smotri] Fix broadcast ticket regex X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=8aff7b9bc47795288c65399d6fcac7a8c48004e9;p=youtube-dl [smotri] Fix broadcast ticket regex --- 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