openzim / gutenberg

Scraper for downloading the entire ebooks repository of project Gutenberg
https://download.kiwix.org/zim/gutenberg
GNU General Public License v3.0
127 stars 37 forks source link

Script should die if a "typo" is done in command line (wrong argument) #26

Closed kelson42 closed 9 years ago

kelson42 commented 9 years ago

$ rm -rf static/ ; ./dump-gutenberg.py --lang=en --export --zim 'list' object has no attribute 'split' EXPORTING ebooks to static folder (and JSON) Filtered book collection size: 37654

rgaudin commented 9 years ago

typo in command On Oct 5, 2014 3:33 PM, "Kelson" notifications@github.com wrote:

Assigned #26 https://github.com/kiwix/gutenberg/issues/26 to @rgaudin https://github.com/rgaudin.

— Reply to this email directly or view it on GitHub https://github.com/kiwix/gutenberg/issues/26#event-174260470.

kelson42 commented 9 years ago

Oh yes, I see, I think we should simply die by parsing the arguments if there is such kind of error. Is that possible?