{"id":13467751,"url":"https://github.com/krypton-byte/tiktok-downloader","last_synced_at":"2025-04-06T01:09:43.665Z","repository":{"id":41982341,"uuid":"355768392","full_name":"krypton-byte/tiktok-downloader","owner":"krypton-byte","description":"Tiktok Downloader/Scraper using requests \u0026 bs4","archived":false,"fork":false,"pushed_at":"2024-06-27T18:46:09.000Z","size":2776,"stargazers_count":319,"open_issues_count":28,"forks_count":86,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-30T00:07:11.380Z","etag":null,"topics":["asynchronous","asyncio","beautifulsoup","bs4","crawler","downloader","flask","krypton-byte","lightweight","nowm","python","python3","requests","tiktok","watermark","web","without"],"latest_commit_sha":null,"homepage":"https://tiktok-dl.id","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krypton-byte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license","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":"2021-04-08T04:57:33.000Z","updated_at":"2025-03-26T21:42:35.000Z","dependencies_parsed_at":"2024-01-13T18:03:12.574Z","dependency_job_id":"fbf01f42-2563-4336-b609-f02c10e2c556","html_url":"https://github.com/krypton-byte/tiktok-downloader","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krypton-byte%2Ftiktok-downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krypton-byte%2Ftiktok-downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krypton-byte%2Ftiktok-downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krypton-byte%2Ftiktok-downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krypton-byte","download_url":"https://codeload.github.com/krypton-byte/tiktok-downloader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419861,"owners_count":20936012,"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","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":["asynchronous","asyncio","beautifulsoup","bs4","crawler","downloader","flask","krypton-byte","lightweight","nowm","python","python3","requests","tiktok","watermark","web","without"],"created_at":"2024-07-31T15:01:00.112Z","updated_at":"2025-04-06T01:09:43.640Z","avatar_url":"https://github.com/krypton-byte.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"tiktok_downloader/static/tiktok.svg\"\u003e\u003cbr\u003e\n\u003cimg src=\"https://img.shields.io/badge/AUTHOR-KRYPTON--BYTE-brightgreen\"\u003e\n\u003c/p\u003e\n\u003ccenter\u003e\n    \n[![Unittest](https://github.com/krypton-byte/tiktok-downloader/actions/workflows/unittest.yml/badge.svg)](https://github.com/krypton-byte/tiktok-downloader/actions/workflows/unittest.yml)\n[![Upload to PyPi](https://github.com/krypton-byte/tiktok-downloader/actions/workflows/python-publish.yml/badge.svg?branch=0.1.7\u0026event=release)](https://github.com/krypton-byte/tiktok-downloader/actions/workflows/python-publish.yml)\n[![Downloads](https://static.pepy.tech/personalized-badge/tiktok-downloader?period=total\u0026units=none\u0026left_color=black\u0026right_color=orange\u0026left_text=Downloads)](https://pepy.tech/project/tiktok-downloader)\n[![viitor](https://visitor-badge.glitch.me/badge?page_id=krypton-byte.tiktok-downloader)]()\n\n\u003c/center\u003e\n\n# install\n\n```bash\n\u003e python3 -m pip install tiktok_downloader\n\u003e python3 -m pip install git+https://github.com/krypton-byte/tiktok-downloader\n```\n\n# Library\n\u003cdetails\u003e\n\u003csummary\u003eTikmate\u003c/summary\u003e\n\n```python\n\u003e\u003e\u003e from tiktok_downloader import Tikmate\n\u003e\u003e\u003e d=Tikmate(\"url\")\n[\u003c[type: \"video\" watermark: False]\u003e, \u003c[type: \"video\" watermark: False]\u003e]\n\u003e\u003e\u003e d[0].download('video.mp4')\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eSnaptik\u003c/summary\u003e\n\n```python\n\u003e\u003e\u003e from tiktok_downloader import snaptik\n\u003e\u003e\u003e d=snaptik('https://vt.tiktok.com/xxxxxx/')\n\u003e\u003e\u003e d\n[\u003c[type: \"video\" watermark: False]\u003e]\n\u003e\u003e\u003e d[0].download('video.mp4')\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eMusically Down\u003c/summary\u003e\n\n```python\n\u003e\u003e\u003e from tiktok_downloader import mdown\n\u003e\u003e\u003e d=mdown('https://vt.tiktok.com/xxxxxx/')\n\u003e\u003e\u003e d\n[\u003c[type: \"video\" watermark: False]\u003e]\n\u003e\u003e\u003e d[0].download('video.mp4')\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eTikdown\u003c/summary\u003e\n\n```python\n\u003e\u003e\u003e from tiktok_downloader import tikdown\n\u003e\u003e\u003e d=tikdown('https://vt.tiktok.com/xxxxxx/')\n\u003e\u003e\u003e d\n[\u003c[type: \"video\" watermark: False]\u003e]\n\u003e\u003e\u003e d[0].download('video.mp4')\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eTTDownloader\u003c/summary\u003e\n\n```python\n\u003e\u003e\u003e from tiktok_downloader import ttdownloader\n\u003e\u003e\u003e d=ttdownloader('https://vt.tiktok.com/xxxxxx/')\n\u003e\u003e\u003e d\n[\u003c[type: \"video\" watermark: False]\u003e]\n\u003e\u003e\u003e d[0].download('video.mp4')\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eTikwm\u003c/summary\u003e\n\n```python\n\u003e\u003e\u003e from tiktok_downloader import tikwm\n\u003e\u003e\u003e d=tikwm('https://vt.tiktok.com/xxxxxx/')\n\u003e\u003e\u003e d\n[\u003c[type: \"video\" watermark: False]\u003e]\n\u003e\u003e\u003e d[0].download('video.mp4')\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eTiktok\u003c/summary\u003e\n\n```python\n\u003e\u003e\u003e from tiktok_downloader import VideoInfo\n\u003e\u003e\u003e d=VideoInfo.service('https://vt.tiktok.com/xxxxxx/')\n\u003e\u003e\u003e d\n[\u003c[type: \"video\" watermark: False]\u003e]\n\u003e\u003e\u003e d[0].download('video.mp4')\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eGet Info\u003c/summary\u003e\n\n```python\n\u003e\u003e\u003e from tiktok_downloader import VideoInfo\n\u003e\u003e\u003e VideoInfo.get_info('https://vt.tiktok.com/xxxxxx/')\n```\n\u003c/details\u003e\n\n# Command line\n\n```\nusage: python3 -m tiktok_downloader [-h] [--snaptik | --ssstik | --tikmate | --mdown | --ttdownloader | --tikwm | --tikdown | --tiktok] [--host HOST] [--debug] [--port PORT] (--server | --url URL) [--info] [--json | --save SAVE]\n\nTiktok Downloader [CLI]\n\noptions:\n  -h, --help      show this help message and exit\n\nList Of Services:\n  --snaptik\n  --ssstik\n  --tikmate\n  --mdown\n  --ttdownloader\n  --tikdown\n  --tikwm\n  --tiktok\n\nWeb Configuration:\n  --host HOST     Set host to run this web\n  --debug         Set flask mode to debug\n  --port PORT     Set port\n\nMode:\n  --server        Run as web application\n  --url URL       Video URL\n\nOptional:\n  --info          Print info video like author, id \u0026 etc\n\nOutput Type:\n  --json          Print result to json format\n  --save SAVE     Write the result to file\n```\n## Example CLI\n\n\u003cdetails\u003e\n\u003csummary\u003eDownload\u003c/summary\u003e\n\n```bash\n$ python3 -m tiktok_downloader --url https://vt.tiktok.com/lorem --snaptik --save tiktok.mp4\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eJson\u003c/summary\u003e\n\n```bash\n$ python3 -m tiktok_downloader --url https://vt.tiktok.com/lorem --snaptik --json\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eRun as web\u003c/summary\u003e\n\n```bash\n$ python3 -m tiktok_downloader --host=0.0.0.0 --port=8000 --server\n * Serving Flask app 'tiktok_downloader.server' (lazy loading)\n * Environment: production\n   WARNING: This is a development server. Do not use it in a production deployment.\n   Use a production WSGI server instead.\n * Debug mode: off\n * Running on http://127.0.0.1:8000 (Press CTRL+C to quit)\n```\n\u003c/details\u003e\n\n## Deploy Heroku\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/krypton-byte/tiktok-downloader/tree/master)\n## Preview\n\u003cimg src=\"image/web.png\"\u003e\n\n## Request API using curl \u0026 wget\n\n```bash\n$ wget -O result.mp4 $(curl -sG http://127.0.0.1:8000/snaptik -d url=https://vm.tiktok.com/xxxxxxxx/|jq .[0].url -r)\n```\n## you can direct Download using browser or curl\n```\nhttp://127.0.0.1:8000/snaptik?url=https://vm.tiktok.com/xxxxxxxx/\u0026type=embed\n```\n### Endpoint \n| Name                                                 | Endpoint      | Status|\n|------------------------------------------------------|---------------|--------|\n| \u003ca href=\"https://snaptik.app\"\u003eSnaptik\u003c/a\u003e            | /snaptik      | ✓\n| \u003ca href=\"https://tikmate.online\"\u003eTikmate\u003c/a\u003e         | /tikmate      |✓\n| \u003ca href=\"https://musicaldown.com/\"\u003eMusicalDown       | /mdown        |✓\n| \u003ca href=\"https://ssstik.io\"\u003essstik\u003c/a\u003e               | /ssstik       | ✓\n| \u003ca href=\"https://ttdownloader.com/\"\u003ettdownloader\u003c/a\u003e | /ttdownloader | ✓\n| \u003ca href=\"https://www.tikwm.com/\"\u003etikwm\u003c/a\u003e           | /tikwm        | ✓\n| \u003ca href=\"https://tikdown.org/\"\u003etikdown\u003c/a\u003e           | /tikdown      | x\n| \u003ca href=\"https://tiktok.com/\"\u003etiktok\u003c/a\u003e             | /tiktok       | ✓\n# Donasi\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://svgur.com/i/Vtt.svg\"\u003e\n\n\u003c/p\u003e\n\u003cul\u003e\u003cli\u003e\u003ca href=\"https://saweria.co/kryptonbyte\"\u003eSaweria\u003c/a\u003e\u003cli\u003e\u003ca href=\"https://wa.me/6283172366463\"\u003eWhatsapp\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"https://trakteer.id/krypton-byte-z8vbo\"\u003eTrakteer\u003c/a\u003e\u003c/li\u003e\u003c/ul\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrypton-byte%2Ftiktok-downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrypton-byte%2Ftiktok-downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrypton-byte%2Ftiktok-downloader/lists"}