mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-24 20:38:22 +00:00
And again
This commit is contained in:
parent
d178af5ad2
commit
7d2a0b425f
|
@ -331,9 +331,9 @@ class FranceTVIE(InfoExtractor):
|
||||||
class FranceTVEmbedIE(FranceTVBaseIE):
|
class FranceTVEmbedIE(FranceTVBaseIE):
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://embed\.francetv\.fr(?:/?\?(?:.*&)?(?P<ue>ue)=|/)
|
https?://embed\.francetv\.fr(?:/?\?(?:.*&)?(?P<ue>ue)=|/)
|
||||||
# Say (?:...|) instead of (?:...)? when ... ends .* to avoid
|
# Say (?:|...) instead of (?:...)? when ... ends .* to avoid
|
||||||
# python/cpython#62847 (fixed from at least 3.5 and late 2.7)
|
# python/cpython#62847 (fixed from at least 3.5 and late 2.7)
|
||||||
(?P<id>[\da-f]{32})(?:(?(ue)&|/?[?#]).*|)$```
|
(?P<id>[\da-f]{32})(?:|(?(ue)&|/?[?#]).*)$
|
||||||
'''
|
'''
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'http://embed.francetv.fr/?ue=7fd581a2ccf59d2fc5719c5c13cf6961',
|
'url': 'http://embed.francetv.fr/?ue=7fd581a2ccf59d2fc5719c5c13cf6961',
|
||||||
|
|
Loading…
Reference in a new issue