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

Don't remove "VL" from playlist id #223

Merged
merged 1 commit into from
Oct 18, 2022
Merged

Don't remove "VL" from playlist id #223

merged 1 commit into from
Oct 18, 2022

Conversation

mdashlw
Copy link
Contributor

@mdashlw mdashlw commented Oct 18, 2022

Playlist ids can contain VL. Example: https://www.youtube.com/playlist?list=PLakb9q7NpRvVL-j6lY85YW4GEWvrf8sXM
The current code would corrupt the playlist id by removing VL anywhere in the string.
This behavior is not documented and doesn't have a test.
I don't think this function should try to remove VL, but I can fix the regex to /^VL/ instead if requested.

@LuanRT
Copy link
Owner

LuanRT commented Oct 18, 2022

Yeah, I don't really remember why we were doing that. So, going to merge this now~
Thanks!

@LuanRT LuanRT merged commit d71b762 into LuanRT:main Oct 18, 2022
@LuanRT LuanRT added the bug Something isn't working label Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parser xsmall-diff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants