Reputation: 9134
I'm imagining a web interface that uses wget to retrieve a URL that the web user specifies. The interaction looks like this:
/path/to/index.html
.example.com/path/to/index.html
, which serves the page that was just downloaded.The problem is that I'm worried sites may start throttling the server's IP address if it sends too many requests.
Is it possible to run wget in such a way that it redirects the output to the user's IP address, which the web interface would then redirect to the server? I'm aware that this could lead to a heinously ugly hack, but I'm curious if it's technically feasible.
Upvotes: 0
Views: 138
Reputation: 13196
The short answer is no.
The long answer is that it's probably possible, but enormously impractical for the following reasons:
Upvotes: 1