Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

Getting Null and SyntaxError in getPlaylist Method #58

@MaitreGEEK

Description

@MaitreGEEK

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions