4 ms·
Alternative to archive.is x="\"Mozilla/5.0 (Linux; Android 14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.6533.103 Mobile Safari/537.36 Lamarr\""
by 1vuio0pswjnm7 1y ago
Alternative to archive.is
x="\"Mozilla/5.0 (Linux; Android 14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.6533.103 Mobile Safari/537.36 Lamarr\""
y=https://www.economist.com/finance-and-economics/2025/11/26/investors-expect-ai-use-to-soar-thats-not-happening
busybox wget -U "$x" -O 1.htm $y
firefox ./1.htm
- gaius_baltar 1y agoThanks, I didn't know this trick! Perhaps soon we'll need to keep lists of per-site white-listed user agents...
- 1vuio0pswjnm7 1y ago"Perhaps soon we'll need to keep lists of per-site white-listed user agents..." Been doing this for many years now. It's a short list, small enough to be contained in the local fwd proxy config # economist.com 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 } I don't use curl, wget, browser extensions/add-ons, etc. except in HN examples. I don't have to worry about command line arguments ilke "-A" or "-U". Proxy controls HTTP headers
- p1mrx 1y ago> busybox wget -U $x -O 1.htm $y There's no way that could work. $x expands to multiple arguments.
- yahoozoo 1y ago[dead]
- backprop1989 1y agoReplace double quotes with single quotes then
- tapete2 1y agoNice troll. I like how it yielded 403 in the end.