mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 12:17:19 +08:00
Update regex for finding video_id.
www.france.tv site has been updated and previous regex didn't find the video_id any more. Proposed change fixes this. Should solve issue #20029.
This commit is contained in:
parent
db1c3a9d3f
commit
441987f7f0
@ -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'videoId:\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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user