Hacker News new | ask | show | jobs
by 1vuio0pswjnm7 122 days ago

   http-request set-header user-agent "Mozilla/5.0 (Linux; Android 14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.6533.103 Mobile Safari/537.36 Lamarr" if { hdr(host) -m end economist.com }
Years ago I used some other workaround that no longer works, maybe something like amp.economist.com. AMP with text-only browser was a useful workaround for many sites

Workarounds usually don't last forever. Websites change from time to time. This one will stop working at some point

There are some people who for various reasons cannot use archive.today

1 comments

Which utility, extension, tool or language is that?
It's from an haproxy configuration file

This unfamiliarity is why I try to use programs that more HN readers are familiar with, like curl or wget, in HN examples. But I find those programs awkward to use. The examples may contain mistakes. I don't use those programs in real life

For making HTTP requests I use own HTTP generators, TCP clients, and local forward proxies

Given the options (a) run a graphical web browser and enable Javascript to solve an archive.today CAPTCHA that contains some fetch() to DDoS a blogger or (b) add a single line to a configuration file and use whatever client I want, no Javascript required, I choose (b)