[Sugar-devel] Problems downloading PG titles without a web browser
Chris Leonard
cjlhomeaddress at gmail.com
Sun Feb 10 13:36:40 EST 2013
You seem to have run afoul of their deep-linking policy:
http://www.gutenberg.org/wiki/Gutenberg:Terms_of_Use
Deep Linking
We do not allow large-scale deep-linking to ebook files hosted on our
servers. We reserve the right to take legal and technical measures
against this.
While the books we host are free, our server infrastructure and
bandwidth is not. It is paid with money generously made available by
our donators. We are not keen about having hundreds of mock Gutenberg
front-ends built with the sole purpose of generating advertising
revenue for their owners while leaving the cost of hosting and serving
the files to us.
cjl
On Sun, Feb 10, 2013 at 12:46 PM, James Simmons <nicestep at gmail.com> wrote:
> I had created an Activity for the One Laptop Per Child project which
> downloads and reads the Plain Text version of PG titles. I use the offline
> catalogue and some Python code to list available titles in the catalogue
> that match a search string. For instance the child might enter "Twain" and
> get a list of all the books by and about Twain. Then the child can download
> the book using the same program.
>
> This has been working well for years but lately it has stopped working.
> When I try to debug it I see it trying to download this URL for instance:
>
> http://www.gutenberg.org/dirs/1/1/119/119.zip
>
> Put this URL in any web browser and it will download "A Tramp Abroad" by
> Mark Twain. However, try and download the same URL using my Python code and
> you get this:
>
> Forbidden
>
> You don't have permission to access /dirs/1/1/119/119.zip on this server.
>
> ________________________________
> Apache Server at www.gutenberg.org Port 80
>
> My Activity is a much more convenient way of downloading books than a web
> browser. For one thing, it gives the downloaded file a more intelligent name
> than 119.zip. I would like for it to work again as it did before.
> Suggestions?
>
> James Simmons
>
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
More information about the Sugar-devel
mailing list