Fixed an issue where games with an age check could not be parsed
This commit is contained in:
parent
5043ffefff
commit
cce8bbe513
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user