Fixed an issue where games with an age check could not be parsed

This commit is contained in:
Jeddunk 2020-10-21 13:10:42 +02:00
parent 5043ffefff
commit cce8bbe513

View File

@ -159,6 +159,8 @@ public class SteamAppsListCache {
try { try {
Document steamDoc = Jsoup Document steamDoc = Jsoup
.connect("https://store.steampowered.com/app/" + appId + "/") .connect("https://store.steampowered.com/app/" + appId + "/")
.cookie("birthtime", "470703601")
.cookie("wants_mature_content", "1")
.get(); .get();
Elements steamDLCs = steamDoc.getElementsByClass("game_area_dlc_row"); Elements steamDLCs = steamDoc.getElementsByClass("game_area_dlc_row");
for (Element dlc : steamDLCs) { for (Element dlc : steamDLCs) {