extr/media/youtube: support embed & shorts video links

master
Felix Stupp 2 years ago
parent 5479db90b8
commit 0debf4d875
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -65,6 +65,10 @@ class YoutubeMediaExtractor(MediaExtractor[YoutubeVideoData]):
https?://(
(www\.)?youtube(-nocookie)?\.com/(
watch\?v=
|
embed/
|
shorts/
)|
youtu\.be/
)(?P<id>[^/&?]+)

Loading…
Cancel
Save