renderorange / daily_book_go Goto Github PK
View Code? Open in Web Editor NEWfinds quotes in free ebooks at project gutenberg.
License: MIT License
finds quotes in free ebooks at project gutenberg.
License: MIT License
It appears project gutenberg is no longer creating ASCII encoded ebooks.
The catalog updates for the last long while have only been removing ASCII encoded ebooks from their files cache. It appears they're now not releasing their text formatted books as ASCII but as UTF-8. UTF-8 encoding isn't a problem in itself, but the filenames are different, so the logic needs to be reworked.
For example:
https://www.gutenberg.org/files/9897/9897.txt - ASCII
https://www.gutenberg.org/files/1089/1089-0.txt - UTF-8
The txt filename contains -0 to signify UTF-8, from what I can gather.
To allow for both ASCII and UTF-8 book filenames, catalog.bash should store the book filename in the catalog, rather than the ebook number. Or, perhaps a CSV format with ebook number first, and filename second. This will allow for quote.go to still easily build the mirror cache link path, as well as the filename to download for both ASCII and UTF-8.
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.