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

[YouTube] Getting playlists/library no longer works #9863

Open
9 of 11 tasks
randomcoder67 opened this issue May 5, 2024 · 3 comments
Open
9 of 11 tasks

[YouTube] Getting playlists/library no longer works #9863

randomcoder67 opened this issue May 5, 2024 · 3 comments
Labels
site-bug Issue with a specific website

Comments

@randomcoder67
Copy link

randomcoder67 commented May 5, 2024

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Region

UK

Provide a description that is worded well enough to be understood

You can not longer get a list of all the playlists in your library.
It used to work with cookies and youtube.com/feed/library.
Tried /feed/playlists and that doesn't work either.
Doesn't work with latest git or latest Arch package.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', '--flat-playlist', '-J', '--cookies-from-browser', 'firefox', 'https://www.youtube.com/feed/library']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.04.09 from yt-dlp/yt-dlp [ff0779267] (source)
[debug] Lazy loading extractors is disabled
[debug] Git HEAD: 96da95250
[debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-6.8.9-zen1-1-zen-x86_64-with-glibc2.39 (OpenSSL 3.3.0 9 Apr 2024, glibc 2.39)
[debug] exe versions: ffmpeg 6.1.1 (setts), ffprobe 6.1.1
[debug] Optional libraries: certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.45.3, urllib3-1.26.18
[debug] Proxy map: {}
Extracting cookies from firefox
[debug] Extracting cookies from: "/home/ethan/.mozilla/firefox/qqxaayge.default-release/cookies.sqlite"
Extracted 2624 cookies from firefox
[debug] Request Handlers: urllib, requests
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2024.04.09 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2024.04.09 from yt-dlp/yt-dlp)
[youtube:tab] Extracting URL: https://www.youtube.com/feed/library
[youtube:tab] library: Downloading webpage
[download] Downloading playlist: library
[youtube:tab] Playlist library: Downloading 5 items of 5
[debug] The information of all playlist entries will be held in memory
[download] Downloading item 1 of 5
[download] Downloading item 2 of 5
[download] Downloading item 3 of 5
[download] Downloading item 4 of 5
[download] Downloading item 5 of 5
[download] Finished downloading playlist: library
{"id": "library", "title": "library", "availability": null, "channel_follower_count": null, "description": null, "tags": [], "thumbnails": [], "modified_date": null, "view_count": null, "playlist_count": 5, "channel": null, "channel_id": null, "uploader_id": null, "uploader": null, "channel_url": null, "uploader_url": null, "_type": "playlist", "entries": [{"title": "History", "_type": "url", "url": "https://www.youtube.com/feed/history", "__x_forwarded_for_ip": null}, {"title": "Playlists", "_type": "url", "url": "https://www.youtube.com/feed/playlists", "__x_forwarded_for_ip": null}, {"title": "Watch later", "_type": "url", "url": "https://www.youtube.com/playlist?list=WL", "__x_forwarded_for_ip": null}, {"title": "Liked videos", "_type": "url", "url": "https://www.youtube.com/playlist?list=LL", "__x_forwarded_for_ip": null}, {"title": "Your clips", "_type": "url", "url": "https://www.youtube.com/feed/clips", "__x_forwarded_for_ip": null}], "extractor_key": "YoutubeTab", "extractor": "youtube:tab", "webpage_url": "https://www.youtube.com/feed/library", "original_url": "https://www.youtube.com/feed/library", "webpage_url_basename": "library", "webpage_url_domain": "youtube.com", "release_year": null, "epoch": 1714905295, "__files_to_move": {}, "_version": {"version": "2024.04.09", "current_git_head": "96da95250", "release_git_head": "ff07792676f404ffff6ee61b5638c9dc1a33a37a", "repository": "yt-dlp/yt-dlp"}}
@randomcoder67 randomcoder67 added site-bug Issue with a specific website triage Untriaged issue labels May 5, 2024
@pukkandan pukkandan removed the triage Untriaged issue label May 5, 2024
@pukkandan
Copy link
Member

The command in the provided log is working as expected as it is returning the sub-playlists correctly.

Tried /feed/playlists and that doesn't work either.

This is the real issue

❯ yt-dlp -Cv --flat https://www.youtube.com/feed/playlists
[debug] Command-line config: ['-Cv', '--flat', 'https://www.youtube.com/feed/playlists']
[debug] Portable config "D:\Programs\Source\yt-dlp\yt-dlp\yt-dlp.conf": ['--alias', '-C', '--cookies-from-browser "vivaldi"']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.04.09 from yt-dlp/yt-dlp [ff0779267] (source)
[debug] Lazy loading extractors is disabled
[debug] Git HEAD: 5d288679b
[debug] Python 3.12.2 (CPython AMD64 64bit) - Windows-11-10.0.22000-SP0 (OpenSSL 3.0.13 30 Jan 2024)
[debug] exe versions: ffmpeg n6.0-26-g3f345ebf21-20230708 (setts), ffprobe n6.0-26-g3f345ebf21-20230708, phantomjs 2.1.1
[debug] Optional libraries: sqlite3-3.43.1
[debug] Proxy map: {}
Extracting cookies from vivaldi
[debug] Extracting cookies from: "D:\Programs\scoop\apps\vivaldi\current\User Data\Default\Network\Cookies"
[debug] Found local state file at "D:\Programs\scoop\apps\vivaldi\current\User Data\Local State"
Extracted 726 cookies from vivaldi (103 could not be decrypted)
[debug] cookie version breakdown: {'v10': 836, 'other': 0, 'unencrypted': 0}
[debug] Request Handlers: urllib
[debug] Loaded 1810 extractors
[youtube:tab] Extracting URL: https://www.youtube.com/feed/playlists
[youtube:tab] playlists: Downloading webpage
[download] Downloading playlist: playlists
[youtube:tab] Playlist playlists: Downloading 0 items
[debug] The information of all playlist entries will be held in memory
[download] Finished downloading playlist: playlists

@roeniss
Copy link
Contributor

roeniss commented May 15, 2024

Can I try resolving this issue? @pukkandan

@Grub4K
Copy link
Member

Grub4K commented May 15, 2024

Feel free to open and link a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-bug Issue with a specific website
Projects
None yet
Development

No branches or pull requests

4 participants