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

Getting Null and SyntaxError in getPlaylist Method #58

Open
MaitreGEEK opened this issue Feb 15, 2024 · 3 comments
Open

Getting Null and SyntaxError in getPlaylist Method #58

MaitreGEEK opened this issue Feb 15, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@MaitreGEEK
Copy link

Hey,

I was trying to implement playlists recognition in my program and found out that it always return me "null".
So I checked the code and found that there's an error while parsing the data from the HTML pages:
image
image

Playlist used for this screenshot: https://youtube.com/playlist?list=PLpIYdjpi2QX4jU15ProfU8BsjXML-VFrZ&si=E7s6MwHI6aTo1qSF

And another one:
image
from: https://music.youtube.com/playlist?list=PLXftWo8BlN2lx5iHhkp-3Yg5aRRbe6Qme

Also, if you put these url in getPlaylist(url) it will return a 404 html page because it seems like the program is bugged and search for the page https://youtube.com/playlist?list=https://music.youtube.com/playlist?list=PLXftWo8BlN2lx5iHhkp-3Yg5aRRbe6Qme or https://youtube.com/playlist?list=https://youtube.com/playlist?list=PLpIYdjpi2QX4jU15ProfU8BsjXML-VFrZ&si=E7s6MwHI6aTo1qSF. It will work if you use the ID of the playlist, the HTML Page get seems to be the right one.

@twlite twlite added the bug Something isn't working label Feb 15, 2024
@MaitreGEEK
Copy link
Author

Do you think you will fix this soon?

@twlite
Copy link
Owner

twlite commented Mar 7, 2024

Do you think you will fix this soon?

hi, I am unable to update this lib at the moment as I am really busy these days with a lot of other stuff but I am happy to review pull requests :)

@MaitreGEEK
Copy link
Author

MaitreGEEK commented Mar 7, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants