{"id":19026566,"url":"https://github.com/sbdchd/tiktoker","last_synced_at":"2025-09-06T21:30:48.594Z","repository":{"id":211525173,"uuid":"726646878","full_name":"sbdchd/tiktoker","owner":"sbdchd","description":":video_camera: TikTok favorites scraper","archived":false,"fork":false,"pushed_at":"2024-02-24T04:15:48.000Z","size":30,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T10:35:51.198Z","etag":null,"topics":["archiver","python","sqlite","tiktok","yt-dlp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sbdchd.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-03T00:20:39.000Z","updated_at":"2024-09-21T00:41:53.000Z","dependencies_parsed_at":"2023-12-09T05:23:45.067Z","dependency_job_id":"62f098c4-6e0f-430f-bae9-9062affffa52","html_url":"https://github.com/sbdchd/tiktoker","commit_stats":null,"previous_names":["sbdchd/tiktoker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sbdchd/tiktoker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbdchd%2Ftiktoker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbdchd%2Ftiktoker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbdchd%2Ftiktoker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbdchd%2Ftiktoker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbdchd","download_url":"https://codeload.github.com/sbdchd/tiktoker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbdchd%2Ftiktoker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273965098,"owners_count":25199200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["archiver","python","sqlite","tiktok","yt-dlp"],"created_at":"2024-11-08T20:49:41.415Z","updated_at":"2025-09-06T21:30:48.312Z","avatar_url":"https://github.com/sbdchd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tiktoker\n\n\u003e TikTok favorites exporter\n\n## Why?\n\nSave favorited videos so they don't get lost if they end up getting removed from TikTok.\n\n## Usage\n\n1. setup\n\n   ```shell\n   git clone https://github.com/sbdchd/tiktoker.git\n   cd tiktoker\n   poetry config virtualenvs.in-project true\n   poetry install\n   ```\n\n2. login to tiktok.com and grab your session id cookie value using the dev tools\n3. download your favorites metadata\n\n   ```shell\n   ./.venv/bin/python -m tiktoker export-favorites-metadata --session-id=$SESSION_ID\n   ```\n\n4. download the images for slideshow favorites\n\n   NOTE: `$EXPORT_ID` is printed by the `exports-favorites-metadata` command\n\n   ```shell\n   ./.venv/bin/python -m tiktoker export-slideshow-images --export-id=$EXPORT_ID\n   ```\n\n5. download the videos (and audio for slideshows) using yt-dlp\n\n   NOTE: `$VIDEO_URL_PATH` is printed by the `export-favorites-metadata` command and defaults to `tiktok-video-urls.txt`\n\n   ```shell\n   yt-dlp -o \"tiktok-videos/tiktok@%(uploader)s:%(id)s:%(title).100B.%(ext)s\" -a $VIDEO_URL_PATH\n   ```\n\n6. enjoy your favorites locally!\n\n   All the media and related metadata is saved locally.\n   You can peruse the sqlite database for more info on a given video!\n\n## Prior Art / Alternatives\n\n- [tiktok-save](https://github.com/samirelanduk/tiktok-save)\n- [myfaveTT](https://chromewebstore.google.com/detail/myfavett-download-all-tik/gmajiifkcmjkehmngbopoobeplhoegad?pli=1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbdchd%2Ftiktoker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbdchd%2Ftiktoker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbdchd%2Ftiktoker/lists"}