michaelnmmeyer / gutenberg Goto Github PK
View Code? Open in Web Editor NEWDownload ebooks from the Project Gutenberg
Download ebooks from the Project Gutenberg
Firstly, a great repo!
I was wondering if this could be customized not just for text format but any eBook format. I see that this is taken care of inside this function:
find_nodes(file, "dcterms:format/rdf:Description/rdf:value")
I could have tweaked a PR myself but I have no knowledge of Gutenberg RDF and very basic idea of python.
Would be a greatly helpful addition....
When executing gutenberg download "language:de"
, the following error occurs:
user:~/Documents/books$ gutenberg download "language:de"
gutenberg: updating catalog
Traceback (most recent call last):
File "/usr/local/bin/gutenberg", line 843, in <module>
cmd["func"](argv[2:])
File "/usr/local/bin/gutenberg", line 794, in cmd_download
Gutenberg().download(argv[0])
File "/usr/local/bin/gutenberg", line 672, in __init__
self.update_catalog()
File "/usr/local/bin/gutenberg", line 678, in update_catalog
for key, fp in iter_catalog(self.catalog_url):
File "/usr/local/bin/gutenberg", line 657, in iter_catalog
key = int(os.path.basename(os.path.dirname(tinfo.name)))
ValueError: invalid literal for int() with base 10: 'DELETE-52276'
Is the repository up-to-date with the current Gutenberg-website in general?
I'm having some difficulty locating the individual ebooks that the script downloaded. I did find the database file; are the ebooks wrapped inside it, or are they simply referenced inside the database and the actual files are elsewhere? If they are inside the database file, is there a way I can modify the script so it downloads the ebooks into a directory so I can do with them as I please?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.