from ..utils import (
compat_urllib_parse,
compat_urllib_request,
- ExtractorError
+ ExtractorError,
)
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
'play_path': broadcast_playpath,
'rtmp_live': True,
'rtmp_conn': rtmp_conn
- }
\ No newline at end of file
+ }