mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 11:07:56 +01:00
[smotri] Fix broadcast ticket regex
This commit is contained in:
parent
55f6597c67
commit
8aff7b9bc4
@ -302,7 +302,7 @@ def _real_extract(self, url):
|
|||||||
adult_content = False
|
adult_content = False
|
||||||
|
|
||||||
ticket = self._html_search_regex(
|
ticket = self._html_search_regex(
|
||||||
u'window.broadcast_control.addFlashVar\\(\'file\', \'([^\']+)\'\\);',
|
u'window\.broadcast_control\.addFlashVar\\(\'file\', \'([^\']+)\'\\);',
|
||||||
broadcast_page, u'broadcast ticket')
|
broadcast_page, u'broadcast ticket')
|
||||||
|
|
||||||
url = 'http://smotri.com/broadcast/view/url/?ticket=%s' % ticket
|
url = 'http://smotri.com/broadcast/view/url/?ticket=%s' % ticket
|
||||||
|
Loading…
Reference in New Issue
Block a user