You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
869 B

#!/bin/sh
curl "http://www.novinky.cz/inquiry/screen?inquiryIds=$1"\
-H 'Host: www.novinky.cz'\
-H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0'\
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'\
-H 'Accept-Language: en-US,en;q=0.5'\
--compressed\
-H 'DNT: 1'\
-H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8'\
-H 'Pragma: no-cache'\
-H 'Cache-Control: no-cache'\
-H 'Referer: http://www.novinky.cz/'\
-H 'Connection: keep-alive'\
> "$1.json"
# -H 'Cookie: __gfp_64b=1YxgAnGXDRc8PfICVru3Uuiuq81RYkx7BQB6_pEHe8X.U7; _chartbeat2=xwz2BBKJrbXD432hm.1439920925967.1439920925967.1; AppPromoCarouselIndex=1; ds=; inquiry=INQUIRY:|14592=52990; inquiryCSRFtoken=NWZ5DNE2H4HVD81H6EFG9N992W9ANS27F3CWO4WA'
# --data 'inquiryIds=14592'