Update Readme
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Florian Brinker 2020-04-12 22:36:49 +02:00
parent 06f4593229
commit 45b22ea668
1 changed files with 5 additions and 2 deletions

View File

@ -16,7 +16,8 @@ You can open any new issues [here](https://git.f-brinker.de/fbrinker/docker-tikt
Just add the TikTok API url (without the `&_signature=...` parameter) as a param and you will get the JSON response:
```bash
docker run --rm fbrinker/tiktok-grabber "https://m.tiktok.com/share/item/list?secUid=&id=&type=5&count=30&minCursor=0&maxCursor=0&shareUid="
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
@ -24,5 +25,7 @@ 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:
```bash
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"
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"
```