projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55f6597
)
[smotri] Fix broadcast ticket regex
author
dst
<dstftw@gmail.com>
Wed, 4 Dec 2013 05:36:12 +0000
(12:36 +0700)
committer
dst
<dstftw@gmail.com>
Wed, 4 Dec 2013 05:36:12 +0000
(12:36 +0700)
youtube_dl/extractor/smotri.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/smotri.py
b/youtube_dl/extractor/smotri.py
index f86ee8388c3bce34d7b92931dbbe185a0d7673df..ff539ea0cbcb332c8a7e107174e7847abe60bca7 100644
(file)
--- 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