Downloads your library from gumroad.
Clone this repository, install requirements, setup config.json and run it.
The config looks like this:
{
"threads": 5,
"only_specified_creators": false,
"match_size_using_content_info": true,
"db_path": "gumload.json",
"refresh": true,
"folder": "J:\\My Drive\\Gumroad",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0",
"_gumroad_app_session": "your app session",
"_gumroad_guid": "your guid",
"creators": [
{
"id": "000000",
"name": "optional name"
}
]
}
Config options:
threads
: number of connections for fetching pages and downloading itemsonly_specified_creators
: if you have creators specified in thecreators
section, only those will get downloadedmatch_size_using_content_info
: if true, checks file sizes it gets from the product page. if false, matches it from the header data from the download requestdb_path
: where the database is stored (just a huge ass json file)refresh
: instead of using the data stored in the database, fetches it from the internetfolder
: folder where all the things are getting storeduserAgent
: user agent used for sending requests_gumroad_app_session
: find your app session value from your cookies_gumroad_guid
: find your guid from your cookies
With everything configured you should be able to run it with python .\main.py
(this is windows).
It only downloads whatever hasn't been downloaded or does not match the size it should have.