youtube: Ignore trailing slashes and fragments on URIs

master
Felix Stupp 1 year ago
parent 088269f272
commit 1e748c4f1a
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -43,6 +43,7 @@ class YoutubeMediaExtractor(MediaExtractor[YoutubeVideoData]):
)|
youtu\.be/
)(?P<id>[^/&?]+)
/?(\#.*)?
$""",
re.VERBOSE,
)

Loading…
Cancel
Save