Commit graph

62 commits

Author SHA1 Message Date
Jeremie Jarosh
41d48038e3
Various improvements to --help (#84)
* Update `--help` Description

Update the output of `--help` so it returns `itch-download` as the program
name, and returns an accurate description of what the program does.

* Make it clear `https://` needs to exist to download a specific game

* Fix `pylint` errors

Add missing docstring to the two CLI tools.

Limit the length of strings.

* Keep consistent style when listing platform types

* Make `--human-folders` a proper on/off flag

The `ArgumentParser.add_argument()` call has been updated to show up as an
'on/off' argument.

* Conform to Code Style Guide

* Add CLI tools to the linting workflow
2023-04-16 15:02:22 +01:00
Jeremie Jarosh
be67f4e42d
Use the json() method of the requests library (#85) 2023-04-16 11:33:34 +01:00
Peter Taylor
7cec2f24a2
Update lint.yml
Run on pull request
2023-03-25 19:04:20 +00:00
Peter Taylor
81d2951ad4
Fixed Pylint and black errors (#76) 2023-03-23 20:36:40 +00:00
64Core
6b2113a64e
Human Friendly naming option (#75)
* Fixes an issue prevents writing paths that end in '...' or similar

* Add Framework for human readable folder structures

* Removed -h argument due to conflict

* Game Folders / Files now respond to --human-folders

* Update Readme.md to include new argument

* Remove -h from arg logic because it's not used and collides with help

---------

Co-authored-by: 64Core <webmaster@64core.io>
2023-03-23 20:29:34 +00:00
Peter Taylor
b64e8197b9
Fix Path handling (#72)
* Fix Path handling
* Port to pathlib
* Replace with re.sub
* Tidied regular expression
* Ensure escaping is done on single path level at a time
* Version bump to 2.3.0
* pylint & black fixes
2023-03-16 08:27:43 +00:00
Peter Taylor
bf98823ede
Bump Version to 2.2 2023-01-29 19:37:40 +00:00
Peter Taylor
c652516eec
Fix None Download (#66)
Fixes: #57 #59 #63

This is a really sub-par fix to the problem for downloading a singular game that you own
+ Owned games need a download key
+ I can only find this via owned-keys
+ It requires searching through (up to) all of your owned keys
2023-01-29 19:32:11 +00:00
Peter Taylor
faf9428e23
Merge pull request #65 from Emersont1/add-license-1
Create LICENSE
Closes #65
2023-01-29 16:28:17 +00:00
Peter Taylor
fc4c59a494
Create LICENSE 2023-01-29 16:27:51 +00:00
Peter Taylor
b7f8724c96 timeout error 2022-11-27 20:09:44 +00:00
Peter Taylor
0e187b0108 update & bump version 2022-11-27 20:04:54 +00:00
Peter Taylor
3082c570c8
Update pyproject.toml 2022-11-27 19:57:52 +00:00
Peter Taylor
63b2621b29
bump version 2022-11-27 19:54:57 +00:00
Peter Taylor
d15f20c8f3 hotfix on downloading 2022-09-05 14:40:31 +01:00
Peter Taylor
9568fd01d4
Merge pull request #53 from Emersont1/individual-game
Added support to download a game not already in the library


Co-authored-by: Blaze Marshall <wertercatt@wertercatt.com>
2022-05-18 13:57:05 +01:00
Peter Taylor
cc2c4b59d5 Version Bump 2022-05-18 13:55:24 +01:00
Peter Taylor
18e147a173
Merge branch 'main' into individual-game 2022-05-18 13:53:49 +01:00
Peter Taylor
1b68b596a2 response changes to bring it inline with style 2022-05-18 13:53:01 +01:00
Peter Taylor
8b998e6acd fixes by black & pylint 2022-05-18 13:46:44 +01:00
Peter Taylor
c93b5ddb0c #55 merges (dos2Unix)
Co-authored-by: Blaze Marshall <wertercatt@wertercatt.com>
2022-05-18 13:44:49 +01:00
Peter Taylor
64673b7ed2
Version bump 2022-05-09 17:21:22 +01:00
Peter Taylor
5ac9e85ecd
Merge pull request #35 from Emersont1/v2-main
Version 2.0 changes
2022-05-09 17:20:55 +01:00
Peter Taylor
33acac6609
Added Progress Output (#52)
* Added Progress Option

* VSCode adding unwanted imports

* linting

* Forgot to increment the Download total

* fixed issues with counter

* Added Mutex for safety

* reorder  imports
2022-05-09 17:05:03 +01:00
Peter Taylor
e8ef0f8a5a response 2022-05-05 15:52:27 +01:00
Peter Taylor
58d10805ea issue on the list of args being passed 2022-05-05 15:31:55 +01:00
Peter Taylor
be5baca377 Added individual game downloader 2022-05-05 14:43:54 +01:00
Peter Taylor
e66e81a5c0 linting 2022-05-05 11:26:19 +01:00
Peter Taylor
f55558cb92 VSCode adding unwanted imports 2022-05-05 11:22:22 +01:00
Peter Taylor
8e3a678967 Added Progress Option 2022-05-05 11:19:42 +01:00
Peter Taylor
da2d93a10b
linting (#51) 2022-05-05 11:12:25 +01:00
Peter Taylor
b52405ca18
Added Beautified JSON output (#30) 2022-05-05 09:50:32 +01:00
Peter Taylor
68b7f19420
Fixes using md5sums (#46)
* Allow for updates

* this should work

* autopep8 action fixes (#47)

Co-authored-by: Emersont1 <Emersont1@users.noreply.github.com>

* autopep8 action fixes (#48)
2022-04-13 21:28:25 +01:00
github-actions[bot]
2b2de8f9df
autopep8 action fixes (#45)
Co-authored-by: Emersont1 <Emersont1@users.noreply.github.com>
2022-03-28 15:44:56 +01:00
Peter Taylor
1a9cf0f338 escaped the wrong path 2022-03-27 03:24:04 +01:00
Peter Taylor
0bebcddcc4
Added cleaned up path (#6 fix) (#42)
* Added cleaned up path (#6 fix)

* autopep8 action fixes (#43)
2022-03-27 00:09:23 +00:00
Peter Taylor
9370bbfe46
Platform tools (#40)
* Added Platform Tools

* autopep8 action fixes (#39)

* autopep8 action fixes (#41)
2022-03-26 23:59:49 +00:00
Peter Taylor
170253793e
Adding Multithreading (#20)
* Preparing to add multithreading

* Added Multithreading

* autopep8 action fixes (#21)

* Added docs about multithreading
2022-03-20 16:10:06 +00:00
Peter Taylor
ae960bc2ce
Added some filename fixes (#29)
* Added some filename fixes

* forgot to change how I called the download function
2022-03-16 23:20:02 +00:00
Peter Taylor
fb10162033
Better errors (#26)
* Improved error reporting in the login functions

* Bumped Version to 1.2.1

* autopep8 action fixes (#27)
2022-03-12 23:32:17 +00:00
Peter Taylor
36498a88b4
Added CIs (And applied Autopep8 fixes) (#18)
* Added CIs

* autopep8 action fixes (#19)

Co-authored-by: Emersont1 <Emersont1@users.noreply.github.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Emersont1 <Emersont1@users.noreply.github.com>
2022-03-09 14:05:55 +00:00
Peter Taylor
68c30fd32d Added Setup tools entry points 2022-03-09 13:55:22 +00:00
Peter Taylor
16446fef7e Forgot to rename things, doh! 2022-03-09 11:32:17 +00:00
Peter Taylor
a82598759c Added readme to toml
Bump Version 1.1.1
2022-03-09 11:09:16 +00:00
Peter Taylor
d633f5bca3 renamed to itchiodl and uploaded to PIP 2022-03-09 11:05:22 +00:00
Peter Taylor
72e1295cac Mixes PR 9 and 15 (#17)
* Don't attempt to download when response doesn't have content-length header

* Added Error reporting from #15

Co-authored-by: Logan Walker <logan.walker@me.com>
Co-authored-by: Alice Gaudon <alice@gaudon.pro>
2022-03-09 10:26:33 +00:00
Peter Taylor
e826dd045d
Update Readme.md 2022-03-08 12:36:38 +00:00
Peter Taylor
154491cb29 Renamed to bundle_tool and some fixes 2022-03-08 12:35:08 +00:00
Alice Gaudon
9a370b26bc
Fix utils.download function call (#8) 2022-03-08 12:19:04 +00:00
Peter Taylor
37a4e10c15
Update Readme.md 2022-03-06 12:31:35 +00:00