Skip to content

feat: support channel and user links in YouTube regex#1178

Merged
B4nan merged 3 commits intomasterfrom
feat/match-channel-and-user-links-in-youtube-regex
Sep 15, 2021
Merged

feat: support channel and user links in YouTube regex#1178
B4nan merged 3 commits intomasterfrom
feat/match-channel-and-user-links-in-youtube-regex

Conversation

@vladfrangu
Copy link
Copy Markdown
Member

Closes #526

One issue I found is that there seem to be channels on YouTube that work at the root level (https://www.youtube.com/jacksepticeye, https://www.youtube.com/pewdiepie are some that I found, and it seems that YouTube has redirects in place for all named channels (? citation needed)) so I don't exactly know how we should handle these. Thoughts @metalwarrior665?

@metalwarrior665
Copy link
Copy Markdown
Member

@vladfrangu Hah, cool, someone resurrected this issue :D I would probably leave as it is with a comment about this special case. And maybe no one will ever need it.

@vladfrangu
Copy link
Copy Markdown
Member Author

How should I phrase the comment? Please note that this won't match URLs like https://youtube.com/pewdiepie?

@metalwarrior665
Copy link
Copy Markdown
Member

How should I phrase the comment? Please note that this won't match URLs like https://youtube.com/pewdiepie?

Yup, sounds good. Maybe
Please note that this won't match URLs like https://youtube.com/pewdiepie that redirect to a /user or /channel.

@vladfrangu
Copy link
Copy Markdown
Member Author

Updated the message 👍

@B4nan B4nan merged commit 65f2e91 into master Sep 15, 2021
@B4nan B4nan deleted the feat/match-channel-and-user-links-in-youtube-regex branch September 15, 2021 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Youtube social regex should match also channels etc.

3 participants