1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-27 01:56:52 +00:00

[francetvinfo.fr] Support more ID suffixes

This commit is contained in:
Philipp Hagemeister 2014-01-30 06:12:56 +01:00
parent ab083b08ab
commit 24b3d5e538

View file

@ -62,7 +62,7 @@ class FranceTvInfoIE(FranceTVBaseInfoExtractor):
mobj = re.match(self._VALID_URL, url) mobj = re.match(self._VALID_URL, url)
page_title = mobj.group('title') page_title = mobj.group('title')
webpage = self._download_webpage(url, page_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) return self._extract_video(video_id)