[Bug]: Playlist Metadata extraction failed
CommanderRedYT opened this issue · comments
I've read the documentation
- I'm running the latest version of Tube Archivist and have read the release notes.
- I have read the how to open an issue guide, particularly the bug report section.
Operating System
Linux
Your Bug Report
Describe the bug
I am not able to download any playlists
Steps To Reproduce
- Open Tubearchivist
- Insert playlist link
- Click on download playlist
Expected behavior
Playlist should be downloading
Relevant log output
2024-03-21 14:28:49,801: INFO/MainProcess] Task extract_download[7d8e977e-a900-4f32-9dba-dee80a614ded] received
[2024-03-21 14:28:49,803: WARNING/ForkPoolWorker-4] extract_download create callback
[2024-03-21 14:28:50,703: WARNING/ForkPoolWorker-4] PL845lQkWyS9JQRYTfFzhQSh1LbV75t20T: get metadata from es
[2024-03-21 14:28:50,707: WARNING/ForkPoolWorker-4] {"_index":"ta_playlist","_id":"PL845lQkWyS9JQRYTfFzhQSh1LbV75t20T","found":false}
[2024-03-21 14:28:50,707: WARNING/ForkPoolWorker-4] PL845lQkWyS9JQRYTfFzhQSh1LbV75t20T: get metadata from youtube
[2024-03-21 14:28:51,312: WARNING/ForkPoolWorker-4] WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[2024-03-21 14:28:51,313: WARNING/ForkPoolWorker-4] WARNING: [youtube:tab] Incomplete yt initial data received. Retrying (1/3)...
[2024-03-21 14:28:51,551: WARNING/ForkPoolWorker-4] WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[2024-03-21 14:28:51,552: WARNING/ForkPoolWorker-4] WARNING: [youtube:tab] Incomplete yt initial data received. Retrying (2/3)...
[2024-03-21 14:28:51,781: WARNING/ForkPoolWorker-4] WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[2024-03-21 14:28:51,781: WARNING/ForkPoolWorker-4] WARNING: [youtube:tab] Incomplete yt initial data received. Retrying (3/3)...
[2024-03-21 14:28:52,015: WARNING/ForkPoolWorker-4] WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[2024-03-21 14:28:52,016: WARNING/ForkPoolWorker-4] WARNING: [youtube:tab] Incomplete yt initial data received; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U. Giving up after 3 retries
[2024-03-21 14:28:52,018: WARNING/ForkPoolWorker-4] ERROR: [youtube:tab] PL845lQkWyS9JQRYTfFzhQSh1LbV75t20T: Playlists that require authentication may not extract correctly without a successful webpage download. If you are not downloading private content, or your cookies are only for the first account and channel, pass "--extractor-args youtubetab:skip=authcheck" to skip this check
[2024-03-21 14:28:52,019: WARNING/ForkPoolWorker-4] https://www.youtube.com/playlist?list=PL845lQkWyS9JQRYTfFzhQSh1LbV75t20T: failed to get info from youtube with message ERROR: [youtube:tab] PL845lQkWyS9JQRYTfFzhQSh1LbV75t20T: Playlists that require authentication may not extract correctly without a successful webpage download. If you are not downloading private content, or your cookies are only for the first account and channel, pass "--extractor-args youtubetab:skip=authcheck" to skip this check
[2024-03-21 14:28:52,019: WARNING/ForkPoolWorker-4] PL845lQkWyS9JQRYTfFzhQSh1LbV75t20T: failed to extract metadata
[2024-03-21 14:28:52,022: WARNING/ForkPoolWorker-4] 7d8e977e-a900-4f32-9dba-dee80a614ded Failed callback
[2024-03-21 14:28:52,025: ERROR/ForkPoolWorker-4] Task extract_download[7d8e977e-a900-4f32-9dba-dee80a614ded] raised unexpected: ValueError('PL845lQkWyS9JQRYTfFzhQSh1LbV75t20T: failed to extract metadata')
Traceback (most recent call last):
File "/root/.local/lib/python3.11/site-packages/celery/app/trace.py", line 477, in trace_task
R = retval = fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/root/.local/lib/python3.11/site-packages/celery/app/trace.py", line 760, in __protected_call__
return self.run(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/home/tasks.py", line 226, in extrac_dl
pending_handler.parse_url_list()
File "/app/home/src/download/queue.py", line 181, in parse_url_list
self._process_entry(entry)
File "/app/home/src/download/queue.py", line 198, in _process_entry
self._parse_playlist(entry["url"])
File "/app/home/src/download/queue.py", line 234, in _parse_playlist
raise ValueError(message)
ValueError: PL845lQkWyS9JQRYTfFzhQSh1LbV75t20T: failed to extract metadata
[2024-03-21 14:28:52,042: WARNING/ForkPoolWorker-4] 7d8e977e-a900-4f32-9dba-dee80a614ded return callback
Anything else?
I have cookie sync turned on and am able to download these playlists with a local yt-dlp installation on my laptop.
Related, in some part, to #686.
For some reason if you toggle "sync cookies" setting in the extension it allows me to add playlists sometimes?
I disabled the youtube cookie and now everything works....
How can this even be broken? This is integrated into yt-dlp
This isn't broken, you are getting blocked by YT. The FAQ has some more workarounds you can test.
I got this error before I downloaded anything at all.
I also find it interesting that it works when i do it on my laptop with the same cookie. But both my server and my laptop have the same public ip..