python3 wcd.py -curl COLLECTIONURL -o OUTPUTFOLDER
What the script does:
- Retrieves information about collection from steam api.
- Saves items in workshop collection to a collection.json file.
- Uses https://steamworkshopdownloader.io/ to download each item in collection, and save them to output directory.
python3 wcd.py -cjson OUTPUTFOLDER/my-collection-name/collection.json -c
What the script does:
- Retrieves information about items in collection.json file from steam api.
- Compares lastUpdated field for each item in collection.json with steam api response.
- Uses https://steamworkshopdownloader.io/ to download each item in collection, where lastUpdated does not match the lastest update date.
- Updates collection.json file with corresponding changes.
Yes, you can modify or create your own collection.json files, and then use them to download / update. The script will download any items, which are specified in collection.json file.
- Failed to download/update
+ Downloaded/updated successfully
Errors:
- timeout reached: steamdownloader.io did not return zip file in time.
- bad zip file: downloaded zip file is corrupted. Wait until the script finishes, then restart to redownload failed items.
python3 wcd.py -h
:
usage: wcd.py [-h] (-curl COLLECTIONURL | -cjson COLLECTIONJSON) [-o OUTPUT] [-f] [-c]
optional arguments:
-h, --help show this help message and exit
-curl COLLECTIONURL, --collectionUrl COLLECTIONURL
Steam collection url. Pattern:
https://steamcommunity.com/(sharedfiles | workshop)/filedetails/?id=*
-cjson COLLECTIONJSON, --collectionJson COLLECTIONJSON
Generated collection.json
-o OUTPUT, --output OUTPUT
Output directory. A folder with collection name will be saved here.
Defaults to /downloads/
-f, --force Force redownload. (only when updating)
-c, --cleanUp Remove items, which were are no longer on the steam workshop. (only
when updating)