Quote:
Originally Posted by hawhill
Also I think it might not catch cases where the URL in question does not indicate the type of the data - e.g. downloads that set filenames with "Content-Disposition" HTTP headers.
|
Yes, some links look like this:
http://site.com/get.cgi?id=12345 - they don't end with expected extension.
I guess this is the problem with Google Books. I could add a sed formula option for converting such URIs to filenames.
Unfortunately, the curl binary installed on Kindle doesn't recognize --remote-header-name option. Maybe I'll compile my own executable.