Skip to content

Commit

Permalink
Fixed VR platform parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilge committed Nov 10, 2021
1 parent 991fbd4 commit 7cf06e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Scrape/AppDetailsParser.php
Expand Up @@ -82,7 +82,7 @@ private static function parseStorePage(string $html): array

// VR platforms.
$vrPlatforms = $crawler->filter(
'.block_title.vrsupport ~ .game_area_details_specs > a.name[href*="vrsupport=10"]'
'.block_title.vrsupport ~ .game_area_details_specs_ctn[href*="vrsupport=10"]'
)->each(static function (Crawler $crawler): string {
return preg_replace('[.*vrsupport=(\d+).*]', '$1', $crawler->attr('href'));
});
Expand Down

0 comments on commit 7cf06e4

Please sign in to comment.