projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f6ed94
)
[firsttv] Fix video URL regex
author
Sergey M.
<dstftw@gmail.com>
Mon, 10 Feb 2014 17:49:37 +0000
(
00:49
+0700)
committer
Sergey M.
<dstftw@gmail.com>
Mon, 10 Feb 2014 17:49:37 +0000
(
00:49
+0700)
youtube_dl/extractor/firsttv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/firsttv.py
b/youtube_dl/extractor/firsttv.py
index 20214eac521d140e5b7514c4f03eec17c400be40..44aca7b7552bde5b48f5eb1c29e7a8223b091b93 100644
(file)
--- a/
youtube_dl/extractor/firsttv.py
+++ b/
youtube_dl/extractor/firsttv.py
@@
-32,7
+32,7
@@
class FirstTVIE(InfoExtractor):
webpage = self._download_webpage(url, video_id, 'Downloading page')
video_url = self._html_search_regex(
- r'''(?s)jwplayer\('flashvideoportal_1'\).setup\({.*?'file': '([^']+)'.*?}\);''', webpage, 'video URL')
+ r'''(?s)jwplayer\('flashvideoportal_1'\)
\
.setup\({.*?'file': '([^']+)'.*?}\);''', webpage, 'video URL')
title = self._html_search_regex(
r'<div class="tv_translation">\s*<h1><a href="[^"]+">([^<]*)</a>', webpage, 'title')