traindoctor / pzmodscraper Goto Github PK
View Code? Open in Web Editor NEWScript to pull Workshop IDs and Mod IDs for Steam Workshop collections.
License: GNU General Public License v2.0
Script to pull Workshop IDs and Mod IDs for Steam Workshop collections.
License: GNU General Public License v2.0
Hello,
I tried using this recently to save myself many hours of copy/pasting and im getting an error due to the steam web api.
from steam.webapi import WebAPI
ModuleNotFoundError: No module named 'steam.webapi'
Not sure if this repo is supported, but figured I would inquire. Im investigating some API Wrappers ive found to resolve the issue.
Edit:
Traceback (most recent call last):
File "/home/pzserver/PZModScraper/getcollection.py", line 60, in request_ugc
return api.call(method_path='ISteamRemoteStorage.GetPublishedFileDetails',\
File "/home/pzserver/.local/lib/python3.10/site-packages/steam/webapi.py", line 167, in call
return getattr(getattr(self, interface), method)(**kwargs)
File "/home/pzserver/.local/lib/python3.10/site-packages/steam/webapi.py", line 327, in __call__
return webapi_request(
File "/home/pzserver/.local/lib/python3.10/site-packages/steam/webapi.py", line 431, in webapi_request
resp.raise_for_status()
File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.steampowered.com/ISteamRemoteStorage/GetPublishedFileDetails/v1/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pzserver/PZModScraper/getcollection.py", line 272, in <module>
modjson = request_ugc(len(wscollection),\
File "/home/pzserver/PZModScraper/getcollection.py", line 63, in request_ugc
print("HTTP Error encountered, exiting." + e.with_traceback())
TypeError: BaseException.with_traceback() takes exactly one argument (0 given)
python3 getcollection.py default
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.