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

Este commit está contenido en:
Florian Brinker 2020-04-12 22:36:49 +02:00
padre 06f4593229
commit 45b22ea668
Se han modificado 1 ficheros con 5 adiciones y 2 borrados

Ver fichero

@ -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"
```