DMarby / humblebundle-ebook-downloader

An easy way to download ebooks from your humblebundle account
The Unlicense
230 stars 27 forks source link

Normalise names before comparing them #24

Open Kesmy opened 5 years ago

Kesmy commented 5 years ago

It looks like file names aren't normalised before the comparison check for an existing file, leading to the same book downloading instead of being skipped on successive runs.

e.g. "Bloom County:The Complete Digital Library Vol. 1" is normalised to "Bloom CountyThe Complete Digital Library Vol. 1", but will be downloaded each time.

Tokariew commented 4 years ago

in my weird python script (in my gist…) I retrieve from humblebundle information about md5hash and only download files with unique hash. Probably better way, than trying to normalise name.