ToddAndMargo
2018-08-18 01:45:34 UTC
Hi All,
I get the whole page from Firefox, but I get this from curl:
$ curl https://www.emsisoft.com/en/software/eek -o -
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
Firefox's Web Developer, Network , copy as cURL, gives
curl 'https://www.emsisoft.com/en/software/eek/' -H 'User-Agent:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:61.0) Gecko/20100101
Firefox/61.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 'Cookie:
__cfduid=d2484e98c9bab82a57ef7a0c6781182541533181366;
PHPSESSID=oq8mi6b9pu6c6j5s8m45fite45' -H 'Connection: keep-alive' -H
'Upgrade-Insecure-Requests: 1'
And I can shorten this down to the original and it still
works, for a while.
How do I get curl to work all the time?
Many thanks,
-T
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: ht
I get the whole page from Firefox, but I get this from curl:
$ curl https://www.emsisoft.com/en/software/eek -o -
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
Firefox's Web Developer, Network , copy as cURL, gives
curl 'https://www.emsisoft.com/en/software/eek/' -H 'User-Agent:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:61.0) Gecko/20100101
Firefox/61.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 'Cookie:
__cfduid=d2484e98c9bab82a57ef7a0c6781182541533181366;
PHPSESSID=oq8mi6b9pu6c6j5s8m45fite45' -H 'Connection: keep-alive' -H
'Upgrade-Insecure-Requests: 1'
And I can shorten this down to the original and it still
works, for a while.
How do I get curl to work all the time?
Many thanks,
-T
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: ht