mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 06:57:17 +08:00
Restores original regex.
This commit is contained in:
parent
441987f7f0
commit
01c6c7b8a1
@ -270,6 +270,11 @@ class FranceTVSiteIE(FranceTVBaseInfoExtractor):
|
||||
webpage = self._download_webpage(url, display_id)
|
||||
|
||||
catalogue = None
|
||||
video_id = self._search_regex(
|
||||
r'data-main-video=(["\'])(?P<id>(?:(?!\1).)+)\1',
|
||||
webpage, 'video id', default=None, group='id')
|
||||
|
||||
if not video_id:
|
||||
video_id = self._search_regex(
|
||||
r'videoId:\s*(["\'])(?P<id>(?:(?!\1).)+)\1',
|
||||
webpage, 'video id', default=None, group='id')
|
||||
|
Loading…
x
Reference in New Issue
Block a user