View Single Post
Old 03-31-2011, 07:50 AM   #43
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Quote:
Originally Posted by hawhill View Post
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.
dsmid is offline   Reply With Quote