Repository: yt-dlp
Issue: [YouTube] Getting playlists/library no longer works
Labels: site-bug,site:youtube

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting that yt-dlp is broken on a **supported** site
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [ ] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### 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

- [X] 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
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
[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"}}
```