We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It doesn't work on some youtube.com/tv links
youtube.com/tv
related: ytdl-org/youtube-dl#11485
The text was updated successfully, but these errors were encountered:
Thanks for the report.
Sorry, something went wrong.
It seems like a simple fix, but I'll investigate more later tonight.
edit: http://regexr.com/3etii - just with simple (?:.*), but that with /control fails (because we search for between 6 and 11, duh)
(?:.*)
/control
Simplest and fastest fix currently is change from above and (?!control), so
(?!control)
const regex = /(?:youtube\.com\/\S*(?:(?:\/e(?:mbed))?\/|watch(?:.*)\?(?:\S*?&?v\=))|youtu\.be\/)((?!control)[a-zA-Z0-9_-]{6,11})/;
http://regexr.com/3gbp9
No branches or pull requests
It doesn't work on some
youtube.com/tv
linksrelated: ytdl-org/youtube-dl#11485
The text was updated successfully, but these errors were encountered: