|
11 months ago | |
---|---|---|
.drone.yml | 11 months ago | |
Dockerfile | 11 months ago | |
README.md | 11 months ago | |
entrypoint.sh | 11 months ago | |
grab.py | 11 months ago |
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.
You can open any new issues here. Have a look at the Dockerfile.
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="
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"