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 user ID regexp question #6297

Closed
kuerbis opened this issue Jul 20, 2015 · 2 comments
Closed

Youtube user ID regexp question #6297

kuerbis opened this issue Jul 20, 2015 · 2 comments

Comments

@kuerbis
Copy link

@kuerbis kuerbis commented Jul 20, 2015

Is the user/ part in a user ID url optional?

_VALID_URL = r'(?:(?:(?:https?://)?(?:\w+\.)?youtube\.com/(?:user/)?(?!(?:attribution_link|watch|results)(?:$|[^a-z_A-Z0-9-])))|ytuser:)(?!feed/)(?P<id>[A-Za-z0-9_-]+)'
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jul 20, 2015

@yan12125 yan12125 closed this Jul 20, 2015
@kuerbis
Copy link
Author

@kuerbis kuerbis commented Jul 20, 2015

Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.