1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 02:01:50 +00:00

[francetv:site] Extend video id regex (closes #20029, closes #20071)

This commit is contained in:
Sergey M․ 2019-02-28 23:26:52 +07:00
parent db1c3a9d3f
commit 9d9a8676dc
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -271,7 +271,7 @@ class FranceTVSiteIE(FranceTVBaseInfoExtractor):
catalogue = None catalogue = None
video_id = self._search_regex( video_id = self._search_regex(
r'data-main-video=(["\'])(?P<id>(?:(?!\1).)+)\1', r'(?:data-main-video\s*=|videoId\s*:)\s*(["\'])(?P<id>(?:(?!\1).)+)\1',
webpage, 'video id', default=None, group='id') webpage, 'video id', default=None, group='id')
if not video_id: if not video_id: