[smotri] Fix broadcast ticket regex
authordst <dstftw@gmail.com>
Wed, 4 Dec 2013 05:36:12 +0000 (12:36 +0700)
committerdst <dstftw@gmail.com>
Wed, 4 Dec 2013 05:36:12 +0000 (12:36 +0700)
youtube_dl/extractor/smotri.py

index f86ee8388c3bce34d7b92931dbbe185a0d7673df..ff539ea0cbcb332c8a7e107174e7847abe60bca7 100644 (file)
@@ -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