From cce8bbe513c25c15e0728b5f43296d086112f00a Mon Sep 17 00:00:00 2001 From: Jeddunk Date: Wed, 21 Oct 2020 13:10:42 +0200 Subject: [PATCH] Fixed an issue where games with an age check could not be parsed --- .../java/xyz/jeddunk/autocreamapi/util/SteamAppsListCache.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/xyz/jeddunk/autocreamapi/util/SteamAppsListCache.java b/src/main/java/xyz/jeddunk/autocreamapi/util/SteamAppsListCache.java index 76cf578..b1f7655 100644 --- a/src/main/java/xyz/jeddunk/autocreamapi/util/SteamAppsListCache.java +++ b/src/main/java/xyz/jeddunk/autocreamapi/util/SteamAppsListCache.java @@ -159,6 +159,8 @@ public class SteamAppsListCache { try { Document steamDoc = Jsoup .connect("https://store.steampowered.com/app/" + appId + "/") + .cookie("birthtime", "470703601") + .cookie("wants_mature_content", "1") .get(); Elements steamDLCs = steamDoc.getElementsByClass("game_area_dlc_row"); for (Element dlc : steamDLCs) {