3 ms·
I don't use wget for testing APIs. I use wget for long-running downloads when I need to be able to continue later, for simple mirroring, and for bootstrapping
by barrkel 12y ago
I don't use wget for testing APIs.
I use wget for long-running downloads when I need to be able to continue later, for simple mirroring, and for bootstrapping web scraping scripts. In fact, the combination of wget -i (url-file) -k and egrep can be enough for many simple web scraping needs. The -k is really handy - converting relative links to absolute links.
If I must use curl, I generally bootstrap it with "Copy as cURL" in the network tab of a browser's developer tools. But it's just not needed very often.