Docker Container to grab json-data from the TikTok "API" https://hub.docker.com/repository/docker/fbrinker/tiktok-grabber
ファイルへ移動
Florian Brinker 45b22ea668
continuous-integration/drone/push Build is passing 詳細
Update Readme
2020-04-12 22:36:49 +02:00
.drone.yml Fix drone naming 2020-04-12 21:46:17 +02:00
Dockerfile Init 2020-04-12 21:16:01 +02:00
README.md Update Readme 2020-04-12 22:36:49 +02:00
entrypoint.sh Init 2020-04-12 21:16:01 +02:00
grab.py Update to valid json 2020-04-12 22:35:56 +02:00

README.md

TikTok Grabber

Build Status Docker Pulls

This is a very basic Docker container to get JSON responses from TikTok "API" calls. I am using the tool TikTok Signature inside the container.

Contribute

You can open any new issues here. Have a look at the Dockerfile.

Usage

Basic Usage

Just add the TikTok API url (without the &_signature=... parameter) as a param and you will get the JSON response:

docker run --rm fbrinker/tiktok-grabber \
    "https://m.tiktok.com/share/item/list?secUid=&id=&type=5&count=30&minCursor=0&maxCursor=0&shareUid="

Usage with a Webhook

You can add a webhook as second parameter. The grabber will send the JSON result to that url as data attribute in a POST request:

docker run --rm fbrinker/tiktok-grabber \
    "https://m.tiktok.com/share/item/list?secUid=&id=&type=5&count=30&minCursor=0&maxCursor=0&shareUid=" \
    "http://example.com/webhook.php"