Commit Graph

14 Commits

Author SHA1 Message Date
Jack Wilsdon
ce8334449b Don't append API key to games.json request 2022-06-19 15:37:56 +01:00
Jack Wilsdon
9e006543c2 Add support for downloading bundles 2022-06-19 15:37:54 +01:00
Jack Wilsdon
49ad7a719c Open JSON files in binary mode
This avoids any encoding errors caused by JSON files containing
non-ASCII characters (e.g. emojis).
2022-06-19 16:22:59 +02:00
Ryszard Knop
8ae034a139 Bump version to 0.3.1, add the missing config.py file
Good job git
2022-06-12 19:52:02 +02:00
Ryszard Knop
90346f579a Bump to 0.3.0, bump deps, misc cleanups and type corrections
Some of the misc issues were found with mypy. Not adding it to dev deps
for now as it complains about missing types in libraries and does not
honor noqa where we need it (non-literal TypedDict keys).
2022-06-12 19:31:25 +02:00
Ryszard Knop
4542057654 Add a Settings system
Allows permanently configuring itch-dl with an API key and other things
in the future. Adds a new dependency, Pydantic, to validate the config.
2022-06-12 19:28:31 +02:00
Ryszard Knop
f8f3e45a1b Bump version to 0.2.1 2022-05-30 22:45:49 +02:00
Ryszard Knop
611fec5a74 Handle files of unknown size as well
Some uploads contain no 'size' in their metadata, despite being hosted
on Itch.io infra. Download these as well.
2022-05-30 22:42:48 +02:00
Ryszard Knop
f709accaa5 Add support for the "Category" row in infoboxes 2022-05-30 22:40:47 +02:00
Ryszard Knop
008e6870e8 Implement infobox parsing, misc bugfixes, version bump 2022-05-15 20:10:32 +02:00
Ryszard Knop
f5c0f4658d Implement screenshot/cover art downloads, initial infobox parsing 2022-05-15 18:51:13 +02:00
Ryszard Knop
8a6bed69f4 Make error handling saner 2022-05-15 17:19:34 +02:00
Ryszard Knop
bf8a695521 File and site downloads are back 2022-05-15 16:38:31 +02:00
Ryszard Knop
4a8f88b48e Trial The Third: Start rewriting the thing
Wooo, someone wants to use this! Let's make it less embarrassing.
2022-05-15 02:02:45 +02:00