Skip to content

Commit f3d9ccd

Browse files
committed
Fixed UserGamesParser.
1 parent bec3059 commit f3d9ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Scrape/UserGamesParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static function parse(Crawler $crawler): iterable
3636
)['queries'];
3737

3838
$linkDetails = self::findQuery($queries, 'PlayerLinkDetails');
39-
if ($linkDetails['public_data']['privacy_state'] < 3) {
39+
if ($linkDetails['public_data']['visibility_state'] < 3) {
4040
throw new ParserException(
4141
'Games list is private or friends-only.',
4242
ParserException::NON_PUBLIC,

0 commit comments

Comments
 (0)