1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-25 01:07:19 +00:00

[smotri] Fix broadcast ticket regex

This commit is contained in:
dst 2013-12-04 12:36:12 +07:00
parent 55f6597c67
commit 8aff7b9bc4

View 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