0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-25 02:45:12 +00:00

Fix: fixed _VALID_URL regexp

This commit is contained in:
Thibault HUTTIN-PASSERON 2024-07-05 00:13:03 +02:00
parent 876b2f3c75
commit 10003ccacf
No known key found for this signature in database
GPG key ID: 3058D6145099B4CE

View file

@ -456,7 +456,7 @@ class FranceTVSiteShowIE(FranceTVBaseInfoExtractor):
_VALID_URL = r'''(?x) _VALID_URL = r'''(?x)
https?://(?:(?:www\.)?france\.tv|mobile\.france\.tv)/ https?://(?:(?:www\.)?france\.tv|mobile\.france\.tv)/
(?:[^/]+)/(?P<id>[^/]+)/ (?:[^/]+)/(?P<id>[^/]+)/
(?:toutes-les-videos|saison-(?P<season_number>\d+))/?''' (?:toutes-les-videos|saison-(?P<season_number>\d+))/?$'''
_TESTS = [{ _TESTS = [{
'url': 'https://www.france.tv/france-3/wakfu/saison-1/', 'url': 'https://www.france.tv/france-3/wakfu/saison-1/',