3 ms·
This is not working at all for me. I keep getting HTML & CSS vomit regardless on whether I use their command line tool or curl.
by fra 8y ago
This is not working at all for me. I keep getting HTML & CSS vomit regardless on whether I use their command line tool or curl.
- Freak_NL 8y agoWeird. Did you file a bug? curl cht.sh curl cht.sh/apt-get The above just works for me with curl.
- nebulous1 8y agopost a curl -v cht.sh ?
- avaika 8y agoWhich curl version do you have? Might it be a chance that you have a curl script somewhere in your PATH before real curl which enforces some user-agent setting?
- laumars 8y agoWhat user agent string is your curl request sending out? I think it does user agent checking to decide whether to send out a shell escaped version of the page or one with traditional web markup because when I make a HTTP request with one of my other CLI HTTP clients it only sends shell output if I send curl's UA.
- ZaidMalhis 8y agoYour curl user agent is most probably set to a browser user agent. Try changing it to the curl user agent: curl -A "curl/7.37.0" cht.sh