Skip to content
New issue

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

[YouTube] Consider capturing short URLs #21

Open
beefchimi opened this issue Jan 18, 2022 · 0 comments
Open

[YouTube] Consider capturing short URLs #21

beefchimi opened this issue Jan 18, 2022 · 0 comments
Assignees
Labels
🧐 Question Further information is requested

Comments

@beefchimi
Copy link
Owner

beefchimi commented Jan 18, 2022

Previously, I was simply capturing youtu instead of the full youtube in order to match against the shortened youtu.be URLs.

youtu.be URLs do not currently support user channels, and are instead meant for short linking to videos. If we match for just /youtu/ - and make matching /(channel|c)/ optional - we will end up capturing anything in the first path segment.

This could be desired functionality... if consumer's want to consider a "watch URL" a sort of "social handle". I would need to further explore this use-case before I go ahead with it.

@beefchimi beefchimi added the 🧐 Question Further information is requested label Jan 18, 2022
@beefchimi beefchimi self-assigned this Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧐 Question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant