Skip to content

Patch to work with current YouTube#5

Open
UFeindschiff wants to merge 8 commits into
lithdew:masterfrom
UFeindschiff:dec2020_youtube_patch_original
Open

Patch to work with current YouTube#5
UFeindschiff wants to merge 8 commits into
lithdew:masterfrom
UFeindschiff:dec2020_youtube_patch_original

Conversation

@UFeindschiff

Copy link
Copy Markdown

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

lithdew commented Dec 14, 2020

Copy link
Copy Markdown
Owner

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
Copy Markdown
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
Copy Markdown

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

@QuantF0rce

Copy link
Copy Markdown

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