projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab083b0
)
[francetvinfo.fr] Support more ID suffixes
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 30 Jan 2014 05:12:56 +0000
(06:12 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 30 Jan 2014 05:12:56 +0000
(06:12 +0100)
youtube_dl/extractor/francetv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/francetv.py
b/youtube_dl/extractor/francetv.py
index b32ff9f867a02147d8ddc145cba685f074e6155c..d4d19991e5a9c8970e58fa54799ebcbccf14ada9 100644
(file)
--- a/
youtube_dl/extractor/francetv.py
+++ b/
youtube_dl/extractor/francetv.py
@@
-62,7
+62,7
@@
class FranceTvInfoIE(FranceTVBaseInfoExtractor):
mobj = re.match(self._VALID_URL, url)
page_title = mobj.group('title')
webpage = self._download_webpage(url, page_title)
- video_id = self._search_regex(r'id-video=(\d+?)
"
', webpage, u'video id')
+ video_id = self._search_regex(r'id-video=(\d+?)
[@"]
', webpage, u'video id')
return self._extract_video(video_id)