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

Be avaible to avoid using of /tmp as temporary directory #24

Closed kelson42 closed 9 years ago

kelson42 commented 9 years ago

It seems the tempfile module uses /tmp as an exchange directory. The problem is that in our case /tmp is not on the same disk and not in the disk array. That for sure slows down the whole process. It would be good to be able to specify an alternative tmp dirctory (or create one in the same directory structure).

kelson42 commented 9 years ago

New code use a local "tmp" directory, it has speed up the whole process and is a good enough solution.