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

Patch to work with current YouTube #5

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

UFeindschiff
Copy link

Due to some changes on YouTube's end, youtube.Load() would always fail as it didn't find anything matching on the old regular expressions.

These changes make the library work again with YouTube as of 13th of December 2020

@lithdew
Copy link
Owner

lithdew commented Dec 14, 2020

Thank you for the PR and for updating the regex! Really grateful for it as I haven't had time to update this module while working on other projects.

I'll look into getting this thoroughly reviewed, merged, and tested in the coming few days - apologies if this is something you want to be merged ASAP.

@UFeindschiff
Copy link
Author

Feel free to take your time. I updated the imports in my personal projects to use my fork for the time being.

The regex for the player config on the embed page sadly also isn't that great which is which is why I then continue to further split the string (which is more of a dirty hack than anything)

@SantiiRepair
Copy link

This pull request was made 3 years ago and it was never merged

@QuantF0rce
Copy link

Up

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.

4 participants