
On 2/10/2013 5:11 PM, James Simmons wrote:
Marcello (and everyone else who replied):
It looks like the mirrors have the same policy. I'm currently using this to download from the URL:
http://doc.sugarlabs.org/epydocs/sugar.network.GlibURLDownloader-class.html
I'm not seeing a way to put a user agent in using this code. It looks like urllib2 supports it. I used the other because I was already using it for collaboration and it gives me a way to do a progress report on the download. I appreciate everyone's detective work and suggestions.
James Simmons
Try downloading from http://gutenberg.readingroo.ms (e.g. http://gutenberg.readingroo.ms/1/1/119/119.zip). This is a mirror created, and presumably maintained, by Mr. Newby. I don't know if it is the mostest, mostest up-to-date mirror, but my examination shows that it is pretty darn close, and for the older works which have the most interest (and the most flaws) it should be highly stable. I'm fairly certain that this server is not part of a server farm or behind a load balancer, so it may not scale under heavy load. On the other hand, it's kind of an unknown server so you won't be competing with the world at large. I'm also fairly certain that this server has not implemented any of Mr. Perathoner's PRST -> PHTML ->PePub tool chain, (which is IMO a good thing) so don't expect to get any auto-generated Perathoner ePubs. This link just takes you to the repository itself, without fanfare.