projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf098e
)
[tf1] simplify regex
author
t0mm0
<dev@onairsoftware.co.uk>
Sun, 4 Jan 2015 00:45:23 +0000
(
00:45
+0000)
committer
t0mm0
<dev@onairsoftware.co.uk>
Sun, 4 Jan 2015 00:45:23 +0000
(
00:45
+0000)
youtube_dl/extractor/tf1.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tf1.py
b/youtube_dl/extractor/tf1.py
index 5c0fcef5855ad3863980e4d52f7d92973bb413ff..07cc8122646a1cd7509252ef8dfaee7672159c30 100644
(file)
--- a/
youtube_dl/extractor/tf1.py
+++ b/
youtube_dl/extractor/tf1.py
@@
-40,7
+40,7
@@
class TF1IE(InfoExtractor):
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
embed_url = self._html_search_regex(
- r'["\'](http
(?:s)
?://www.wat.tv/embedframe/.*?)["\']', webpage, 'embed url')
+ r'["\'](http
s
?://www.wat.tv/embedframe/.*?)["\']', webpage, 'embed url')
embed_page = self._download_webpage(embed_url, video_id,
'Downloading embed player page')
wat_id = self._search_regex(r'UVID=(.*?)&', embed_page, 'wat id')