Skip to content

Commit 7d2a0b4

Browse files
authored
And again
1 parent d178af5 commit 7d2a0b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

youtube_dl/extractor/francetv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,9 @@ def _real_extract(self, url):
331331
class FranceTVEmbedIE(FranceTVBaseIE):
332332
_VALID_URL = r'''(?x)
333333
https?://embed\.francetv\.fr(?:/?\?(?:.*&)?(?P<ue>ue)=|/)
334-
# Say (?:...|) instead of (?:...)? when ... ends .* to avoid
334+
# Say (?:|...) instead of (?:...)? when ... ends .* to avoid
335335
# python/cpython#62847 (fixed from at least 3.5 and late 2.7)
336-
(?P<id>[\da-f]{32})(?:(?(ue)&|/?[?#]).*|)$```
336+
(?P<id>[\da-f]{32})(?:|(?(ue)&|/?[?#]).*)$
337337
'''
338338
_TESTS = [{
339339
'url': 'http://embed.francetv.fr/?ue=7fd581a2ccf59d2fc5719c5c13cf6961',

0 commit comments

Comments
 (0)