Emersont1 / itchio

https://pypi.org/project/itchiodl/
MIT License
105 stars 17 forks source link

Fix download failure for games with missing hash data #80

Open triple-j opened 1 year ago

triple-j commented 1 year ago

It turns out that not all files will have a md5_hash. When this program tries to download those file, the error KeyError: 'md5_hash' is thrown and the rest of the downloads for that game are skipped.

This PR changes the behavior of this program so that it just skips verification of files without a MD5 hash.

Here is a collection of games that I know to be affected: