Ich brauche ein http Request den ich über Curl machen will.
Habe einige Zeichen maskiert`, aber klappt nicht, beim start des skripts bekomme ich keine Fehlermeldung, die datei wird trotzdem nicht heruntergeladen.
Code: Select all
RunWait`, curl -o mypic.jpg ""https://www.example.com/pic/mypic.jpg"" -H ""User-Agent: Mozilla/5.0 (Windows NT 10.0`; Win64`; x64) AppleWebKit/537.36 (KHTML`, like Gecko) Chrome/79.0.3945.130 Safari/537.36"" -H ""Sec-Fetch-User: ?1"" -H ""Accept: text/html`,application/xhtml+xml`,application/xml`;q=0.9`,image/webp`,image/apng`,*/*`;q=0.8`,application/signed-exchange`;v=b3`;q=0.9"" -H ""Sec-Fetch-Site: none"" -H ""Referer: https://example.com/product"" -H ""Accept-Encoding: gzip`, deflate`, br"" -H ""Accept-Language: de-DE`,de`;q=0.9`,en-US`;q=0.8`,en`;q=0.7"" -H ""Cookie: jLrAT=15797125^%^25^%^25^%^25`; __utma=1628326.16246444.1512523.1572523.15712523.1`; __utmc=1832426`; __utmz=12832426.19712523.1.1.utmcsr=(direct)^|utmccn=(direct)^|utmcmd=(none)`; __utmt=1`; __utmb=1622426.4.10.1579723"" -H ""If-None-Match: ^\^""d4b8-594ac7a^\^"""" -H ""If-Modified-Since: Sat`, 04 Jan 2020 13:20:02 GMT"" --compressed
Schon mal vielen Dank im voraus.