openzim / gutenberg

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

[URGENT] On cover page, EPUB/PDF/... links are not URL encoded #16

Closed kelson42 closed 9 years ago

kelson42 commented 9 years ago

So, if the the title contains a special characters, URL is broken. The URL should be URL encoded.

Check with "A quoi tient l'amour?" from "Emile Blémont" http://library.kiwix.org/gutenberg_fr_all_09_2014/A/A%20quoi%20tient%20l%27amour%3F_cover.12487.html

I have fixed similar problems in javascript, but don't know how to do it in Python

rgaudin commented 9 years ago

btw @kelson42 you just need to redo export to repair your export.

kelson42 commented 9 years ago

Had to fix a small error, but works. THX