curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: curl getting different html

From: toby via curl-users <curl-users_at_lists.haxx.se>
Date: Fri, 10 Jan 2025 09:19:48 -0700

Thanks Hans for the code and your help

i don't get the gz'ed page with curl at all (no matter what i send - headers/no header -L/no -L etc) - just the 'needs javascript and cookies' page'

a line from 'band of brothers' comes to mind here
https://www.youtube.com/watch?v=cQE1YIJDNWo
substitue 'cloudfare' for capt sobel and 'curl' for sgt randelman :)


On Fri, 10 Jan 2025 16:17:24 +0100
Hans Henrik Bergan <divinity76+curl_at_gmail.com> wrote:

> >can curl give me a gzipped page if i use the correct header? (hint hint - can you tell me what to use for curl)
>
> if you want to witness the compressed version first-hand, run
>
> curl --header 'Accept-Encoding: gzip, deflate, br, zstd' -o -
> https://www.podchaser.com/podcasts/crypto-corner-bitcoin-and-bloc-950963/episodes/recent
>
> probably useless tho
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-01-10