And again

This commit is contained in:
dirkf 2025-05-15 17:28:53 +01:00 committed by GitHub
parent d178af5ad2
commit 7d2a0b425f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -331,9 +331,9 @@ class FranceTVIE(InfoExtractor):
class FranceTVEmbedIE(FranceTVBaseIE):
_VALID_URL = r'''(?x)
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)
(?P<id>[\da-f]{32})(?:(?(ue)&|/?[?#]).*|)$```
(?P<id>[\da-f]{32})(?:|(?(ue)&|/?[?#]).*)$
'''
_TESTS = [{
'url': 'http://embed.francetv.fr/?ue=7fd581a2ccf59d2fc5719c5c13cf6961',