Python Scripts for downloading / archiving your itchio library
Project description
IMPORTANT NOTICE: up until 2022-03-09, the package was called itchio, it is now called itchiodl (to avoid pypi conflicts)
Itchio Downloader Tool
Install
pip install itchiodl
Download All Games in library from account
Please Note: Having too many jobs may cause rate-limiting from some testing 8 works fine but 10 starts giving errors.
# via python
python -m itchiodl.downloader
# via setup-tools entry point
itch-download
This uses the same API the itchio app uses to download the files. If you have 2FA enabled, generate an API key here and run the following instead
# via python (with 4 concurrent downloads)
python -m itchiodl.downloader --api-key=KEYHERE --jobs=4
# via setup-tools entry point
itch-download -k KEYHERE
# download with multiple threads
itch-download -k KEYHERE -j 4
# only download osx or cross platform downloads
itch-download -p osx
Add All Games in a bundle to your library
# via python
python -m itchiodl.bundle_tool
# via setup-tools entry point
itch-load-bundle
This is a bit of a bodge, but it works. It essentially goes through and clicks the "Download" link on every item on the bundle's page, which adds it to your itchio library. It does not download any files. You will need the download page's URL (this will be in the bundle's email, and possibly your purchase history). It will not work with 2FA, and I'm unlikely to be able to fix it without making it far more complicated
Errors
if a download fails it will be reported in errors.txt
in the same directory as your downloads
An example of which could look something like this:
Publisher Name: <Publisher Name>
Output File: <Publisher Name>/<Game Name>/<Specific Item>
Request URL: <Some URL>
Request Response Code: 404
Error Reason: Not Found
This game/asset has been skipped please download manually
---------------------------------------------------------
This is not a perfect solution but does prevent the whole process from crashing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file itchiodl-2.3.0.tar.gz
.
File metadata
- Download URL: itchiodl-2.3.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.10.2 Linux/5.15.0-1034-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb77c682728fc03f3c96efec03225d6278834d2ba0fed532d9a4950c50c4bad0 |
|
MD5 | 088d0e19a93289f01220037849ad7c00 |
|
BLAKE2b-256 | f3cab8ddb356f01e8b6a8f8759b2176f6fdbe17478786f6b83564cc8b8187d8f |
File details
Details for the file itchiodl-2.3.0-py3-none-any.whl
.
File metadata
- Download URL: itchiodl-2.3.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.10.2 Linux/5.15.0-1034-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6d4b7b94e6cd7709157cafc28682fdc62115d4b848b43fef2a768d1ea913dc7 |
|
MD5 | 7fba143d87621a1af759f400bbdd4f85 |
|
BLAKE2b-256 | 53839fc5a3092791fd280900bba4e73b3489b06f3722e4e0616bb9e32c61c6d2 |