I'm trying to download all the books from a URL list in bulk. The list is in a text file in http://ligman.me/W3TuLr. I'm trying to use
wget on linux for this. All these URLs seem to be created using a URL shortening service. The problem is when I run
wget --server-response --input-file=list.txt, the files are downloaded ok, but wget uses the shortened URL tag as their name, while I can see in server responses that the
Location header for the direct file URL contains the real readable book name in it.
How can I get
wget to write the output file in the readable file name?
wget version is 1.13.4.
I'm open to any other linux comnands which can perform the same task.