Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some DLCs aren't shown on Steam page & API #1

Closed
BigBoiCJ opened this issue Mar 15, 2022 · 2 comments
Closed

Some DLCs aren't shown on Steam page & API #1

BigBoiCJ opened this issue Mar 15, 2022 · 2 comments
Labels
bug Something isn't working fixed Bug fixed

Comments

@BigBoiCJ
Copy link
Owner

BigBoiCJ commented Mar 15, 2022

Some DLCs, such as https://store.steampowered.com/app/1725500/Beat_Saber_Skrillex__Bangarang_feat_Sirah/ aren't shown properly on the main game page, and do not appear on the Steam's API.

This means some DLCs won't be detected by SAC and won't be automatically unlocked.

If that happens, the only workarounds are either:

  • Using the "auto unlock DLC" feature in Steam emulators. Keep in mind that it might not work for certain games, and thus, should not be the default way of unlocking DLCs.
  • Adding the missing ones yourself from steamdb

Sorry for this problem, but it seems it's Steam's fault. There doesn't seem to be any acceptable and easy workaround.
If you know any, please help.

@BigBoiCJ BigBoiCJ added bug Something isn't working help wanted Extra attention is needed labels Mar 15, 2022
@BigBoiCJ
Copy link
Owner Author

Found a potential API workaround:
We can scrape https://store.steampowered.com/dlc/APP_ID/WHATEVER_YOU_WANT/ajaxgetfilteredrecommendations/?query&count=10000

Example: https://store.steampowered.com/dlc/620980/random/ajaxgetfilteredrecommendations/?query&count=10000

I'll get the DLC AppIDs by searching inside the results_html field, example: data-ds-appid=\"1812883\"

The total DLC count can be retrieved quickly too, since it is passed as the total_count field.
Apps that do not have DLCs also display this page.

Scraping SteamDB.info was also an option, but I prefer to send requests to Steam first. However, I could add an option to get DLCs from SteamDB in the future if needed.

@BigBoiCJ BigBoiCJ added the WIP Currently being worked on label Mar 17, 2022
@BigBoiCJ
Copy link
Owner Author

Fixed with v1.2.0

@BigBoiCJ BigBoiCJ added fixed Bug fixed and removed help wanted Extra attention is needed WIP Currently being worked on labels Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Bug fixed
Projects
None yet
Development

No branches or pull requests

1 participant