BigBoiCJ/SteamAutoCracker

Some DLCs aren't shown on Steam page & API

Closed this issue · 2 comments

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.

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.

Fixed with v1.2.0