embed
embed copied to clipboard
Youtube channels with spaces in name will not work
There is an issue with the youtube extraction regex that stops if there is a space in channel name. Eg
https://www.youtube.com/watch?v=kU9y8rKCe3w&ab_channel=Well%2BGood
will not work,
the issue is with regex (?:https?://)?(?:www.)?(?:(?:youtu.be/)|(?:youtube.com)/(?:v/|u/\w/|embed/|watch))(?:(?:?v=)?([^#&?=]))?((?:[?&]\w=\w*)*)```
that should be rewritten to (?:https?://)?(?:www.)?(?:(?:youtu.be/)|(?:youtube.com)/(?:v/|u/\w/|embed/|watch))(?:(?:?v=)?([^#&?=]))?((?:[?&]\w=[\w%+]))