Skip to content

Instantly share code, notes, and snippets.

@underyx
Last active July 16, 2018 07:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save underyx/a467b5dcd2504c91b72ac38e82cbd8f5 to your computer and use it in GitHub Desktop.
Save underyx/a467b5dcd2504c91b72ac38e82cbd8f5 to your computer and use it in GitHub Desktop.
Get credits from rohlik
#!/usr/bin/env bash
curl 'https://www.rohlik.cz/stranka/rohlikovac?do=creditForge-roll' \
-H 'pragma: no-cache' \
-H "cookie: $ROHLIK_COOKIES" \
-H 'accept-encoding: gzip, deflate, br' \
-H 'accept-language: en-US,en;q=0.9,hu-HU;q=0.8,hu;q=0.7,ja-JP;q=0.6,ja;q=0.5,cs-CZ;q=0.4,cs;q=0.3' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36' \
-H 'accept: */*' \
-H 'cache-control: no-cache' \
-H 'authority: www.rohlik.cz' \
-H 'x-requested-with: XMLHttpRequest' \
-H 'referer: https://www.rohlik.cz/stranka/rohlikovac' \
--compressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment