Git Product home page Git Product logo

pzmodscraper's People

Contributors

acongos92 avatar dependabot[bot] avatar traindoctor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

franticpanic

pzmodscraper's Issues

Has there been a change to SteamAPI

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:

  • Add steam module to readme
  • Add a requirements.txt file

400 Client Error: Bad Request for URL

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)
  • Command used: python3 getcollection.py default
  • I supplied a collection id
  • I supplied an API key
  • I ran the script from the folder it is in

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.