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

[Bug]: YouTube Playlist ID cannot be parsed #604

Closed
2 tasks done
CommanderRedYT opened this issue Nov 17, 2023 · 3 comments
Closed
2 tasks done

[Bug]: YouTube Playlist ID cannot be parsed #604

CommanderRedYT opened this issue Nov 17, 2023 · 3 comments
Labels
question Further information is requested

Comments

@CommanderRedYT
Copy link

I've read the documentation

Operating System

Linux

Your Bug Report

Describe the bug

When I put this ID / URL (OLAK5uy_meaM_pcONkasoKJ8HZsOQpGlMiXQiIDuM) into the "Add Video/Playlist/Channel" field, I get an error message in the Network Tab of the Dev tools saying "failed to parse".

Steps To Reproduce

Copy the URL / ID from above into the "Add Video" text field and click download

Expected behavior

The ID should not be treated as invalid

Relevant log output

not a valid id_str: OLAK5uy_meaM_pcONkasoKJ8HZsOQpGlMiXQiIDuM

failed to parse: https://www.youtube.com/playlist?list=OLAK5uy_meaM_pcONkasoKJ8HZsOQpGlMiXQiIDuM

[pid: 40|app: 0|req: 9/9] 192.168.0.202 () {62 vars in 1087 bytes} [Fri Nov 17 17:57:29 2023] POST /api/download/ => generated 110 bytes in 14 msecs (HTTP/1.0 400) 8 headers in 279 bytes (1 switches on core 0)

is url

playlist from list query str

not a valid id_str: OLAK5uy_meaM_pcONkasoKJ8HZsOQpGlMiXQiIDuM

failed to parse: https://www.youtube.com/playlist?list=OLAK5uy_meaM_pcONkasoKJ8HZsOQpGlMiXQiIDuM

[pid: 40|app: 0|req: 12/12] 192.168.0.202 () {62 vars in 1087 bytes} [Fri Nov 17 17:58:33 2023] POST /api/download/ => generated 110 bytes in 14 msecs (HTTP/1.0 400) 8 headers in 279 bytes (1 switches on core 0)

Anything else?

Maybe the IDs got longer?

@bbilly1
Copy link
Member

bbilly1 commented Nov 18, 2023

The docs cover how this project defines playlists:
https://docs.tubearchivist.com/urls/#playlist

Looks like the link you provided isn't really a playlist on YouTube, but an album. E.g. these are playlists and implemented in this project:
https://www.youtube.com/@Thenewtonbros/playlists

and these are Releases/Albums and not currently implemented:
https://www.youtube.com/@Thenewtonbros/releases

Is the only difference just the playlist ID length? Are all album playlists 41 characters long?

@bbilly1 bbilly1 added the question Further information is requested label Nov 18, 2023
@CommanderRedYT
Copy link
Author

I can check more albums:

https://www.youtube.com/playlist?list=OLAK5uy_muCUoG58NR5uk5PPLc_Mdg790DLzLtUCI
https://www.youtube.com/playlist?list=OLAK5uy_mc9X-8-rEwvbb6PophqhaSOHU3oKrRZe4
https://www.youtube.com/playlist?list=OLAK5uy_nDtMg7aqY7HVT1TDWZ6bN_dT_VXHg5kqQ
https://www.youtube.com/playlist?list=OLAK5uy_meWCZNCwRQt6bo4PH7UXG9wHIwCcQwtNI

(All length of 41)

So yea, these seem to be 41 characters long

@bbilly1
Copy link
Member

bbilly1 commented Nov 21, 2023

OK, please reopen this as a Feature request and add our findings there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants