Email or username:

Password:

Forgot your password?
Top-level
Karl Fredrik 🦊

@bagder This is sorta what imgur does for wget as well, to "stop" scraping I guess...

(it has returned 429 "too many requests" every time I've tried, so I assumme it's an ingress rule for the user agent)

Linux terminal.

The first command attempts to run `wget` to download a file from Imgur. The command returns HTTP error 429 (too many requests).

The second command works, and contains the flag --user-agent="curl"
1 comment
Carnildo

@kfh @bagder It makes sense for imgur, because it's a quick way to stop clueless people from trying to spider the site. Usage tracking requires a lot more resources than a simple string comparison on a header, so if you can stop 99% of the spiders before they even hit the usage-tracking code, it's a win.

Go Up