You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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%+]))
The text was updated successfully, but these errors were encountered:
qbabooba
pushed a commit
to qbabooba/embed
that referenced
this issue
Jan 20, 2024
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%+]))
The text was updated successfully, but these errors were encountered: