{"id":42716729,"url":"https://github.com/daydiff/yt-playlist-export","last_synced_at":"2026-01-29T15:40:14.490Z","repository":{"id":159354956,"uuid":"634562993","full_name":"daydiff/yt-playlist-export","owner":"daydiff","description":"yt-playlist-export is a tiny Python tool that allows to export private YouTube playlists, export YouTube's \"Watch later\" list and export YouTube \"Liked videos\".","archived":false,"fork":false,"pushed_at":"2025-03-28T12:10:20.000Z","size":116,"stargazers_count":42,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-19T02:25:02.938Z","etag":null,"topics":["hacktoberfest","youtube","youtube-playlist","youtube-playlist-backup","youtube-playlist-export"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daydiff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-30T14:41:48.000Z","updated_at":"2025-09-03T10:21:08.000Z","dependencies_parsed_at":"2023-10-12T09:01:49.023Z","dependency_job_id":null,"html_url":"https://github.com/daydiff/yt-playlist-export","commit_stats":null,"previous_names":["daydiff/yt-playlist-export"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daydiff/yt-playlist-export","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daydiff%2Fyt-playlist-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daydiff%2Fyt-playlist-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daydiff%2Fyt-playlist-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daydiff%2Fyt-playlist-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daydiff","download_url":"https://codeload.github.com/daydiff/yt-playlist-export/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daydiff%2Fyt-playlist-export/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28880342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","youtube","youtube-playlist","youtube-playlist-backup","youtube-playlist-export"],"created_at":"2026-01-29T15:40:13.716Z","updated_at":"2026-01-29T15:40:14.485Z","avatar_url":"https://github.com/daydiff.png","language":"Python","readme":"# yt-playlist-export\n\nyt-playlist-export is a tool that allows to export YouTube playlists, export YouTube \"Watch later\" list and export YouTube \"Liked videos\". It supports exporting to JSON and CSV formats.\n\n## Installation\n\n```bash {\"id\":\"01J4HFTRJ1CK76GD127E1R65GX\"}\npython3 -m pip install yt-playlist-export\n```\n\n## Usage\n\n```bash {\"id\":\"01J4HFTRJ1CK76GD127F41SF28\"}\nyt-playlist-export -h\nusage: yt-playlist-export [-h] [--browser BROWSER] [--cookies COOKIES] [-f {csv,json}] [-o OUTPUT] [-v] playlist [playlist ...]\n\nyt-playlist-export exports YouTube playlists to JSON or CSV\n\npositional arguments:\n  playlist              playlist URL\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --browser BROWSER     browser where you logged in to YouTube\n  --cookies COOKIES     absolute path to a Netscape formatted cookie file\n  -f {csv,json}, --format {csv,json}\n                        output's format\n  -o OUTPUT, --output OUTPUT\n                        filename to store output, by default it's printed to stdout\n  -v, --verbose         verbose\n```\n\n### Use case: Exporting public playlist\n\n```bash\nyt-playlist-export -f csv -o test.csv https://www.youtube.com/playlist?list=PLO4kDC0EWkeCnf8PBRk7XDPhrzmAxHLah\n```\n\n### Use case: Exporting using cookies from default browser (firefox)\n\n```bash\nyt-playlist-export -f csv -o test.csv https://www.youtube.com/playlist?list=PLO4kDC0EWkeCnf8PBRk7XDPhrzmAxHLah\n```\n\n### Use case: Exporting using Chrome browser\n\nAt the moment of writing this supported browsers are: firefox, safari, brave, chrome, chromium, edge, opera, vivaldi, whale.\n\nFor the `--browser` agrument one can also pass `BROWSER[+KEYRING][:PROFILE][::CONTAINER]` as it's described in [yt-dlp](https://github.com/yt-dlp/yt-dlp) documentation.\nCheck out `--cookies-from-browser` option in yt-dlp documentation to understand how it works.\n\n```bash\nyt-playlist-export --browser chrome -f csv -o test.csv https://www.youtube.com/playlist?list=PLO4kDC0EWkeCnf8PBRk7XDPhrzmAxHLah\n```\n\n### Use case: Exporting using cookie file\n\nThe cookie file must be in a Netscape format. You can follow [this guide](https://github.com/yt-dlp/yt-dlp/issues/10927) and use [this extension](https://chromewebstore.google.com/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc) for Chrome.\n\n```bash\nyt-playlist-export --cookies /home/daydiff/cookie.txt -f csv -o test.csv https://www.youtube.com/playlist?list=PLO4kDC0EWkeCnf8PBRk7XDPhrzmAxHLah\n```\n\n\n## Show case\n\n```bash {\"id\":\"01J4HFTRJ1CK76GD127FGZF1W0\"}\nyt-playlist-export https://www.youtube.com/playlist?list=PLO4kDC0EWkeCnf8PBRk7XDPhrzmAxHLah\n```\n\n![YouTube playlist exported to CSV](/assets/format_csv.png)\n\n## Dependencies\n\nyt-playlist-export is using [yt-dlp](https://github.com/yt-dlp) under the hood.\n\n## Keywords\n\nYouTube export playlist. YouTube export Watch later list. YouTube export liked videos. YouTube export playlist to CSV. YouTube export playlist to JSON. YouTube export private playlist.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaydiff%2Fyt-playlist-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaydiff%2Fyt-playlist-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaydiff%2Fyt-playlist-export/lists"}