SteamDatabase / BrowserExtension

💻 SteamDB's extension for Steam websites
https://steamdb.info/extension/
BSD 3-Clause "New" or "Revised" License
762 stars 55 forks source link

Parse licenses #94

Closed Revadike closed 3 years ago

Revadike commented 3 years ago

Parse the licenses page just like userdata is being used. This allows you to do all kinds of fun stuff. Some ideas:

How to cross-reference license and package:

  1. If known to SteamDB or packagedetails API, simply match license name with SteamDB/packagedetails package name.
  2. If unknown to SteamDB or packagedetails API:
    1. Get list of owned apps.
    2. Exclude apps from packages that are known to SteamDB.
    3. For each unknown app, request:
      https://help.steampowered.com/en/wizard/HelpWithGameIssue/?appid=APPID&issueid=123&sessionid=SESSIONID&wizard_ajax=1
    4. Find the license/package name, appid and subid in the response
xPaw commented 3 years ago

License page has no subids. As for stats I think AS does that already?

Revadike commented 3 years ago

License page has no subids. As for stats I think AS does that already?

I don't use AS. Also I solved the problem for no subids in license page, please read...

xPaw commented 3 years ago

I'm not going to spam the help site with requests to figure out which package is which.

Revadike commented 3 years ago

I'm not going to spam the help site with requests to figure out which package is which.

I should only be a small portion of the licenses, I reckon. Besides, you haven't shy away from spamming steam before, just look at the free packages script for example.