Skip to content

Commit cd99cc6

Browse files
authored
fix reviews (data source changed from ds:7 to ds:8) (#33)
1 parent 7a9a224 commit cd99cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google-play.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public function parseApplication($packageName, $lang='en_US', $loc='US') {
251251

252252
// reviews
253253
$values["reviews"] = [];
254-
if ( $proto = json_decode($this->getRegVal("/key: 'ds:7'. hash: '\d+'. data:(?<content>\[\[\[.+?). sideChannel: .*?\);<\/script/ims")) ) { // DataSource:7 = reviews
254+
if ( $proto = json_decode($this->getRegVal("/key: 'ds:8'. hash: '\d+'. data:(?<content>\[\[\[.+?). sideChannel: .*?\);<\/script/ims")) ) { // DataSource:7 = reviews
255255
foreach($proto[0] as $rev) {
256256
$r["review_id"] = $rev[0];
257257
$r["reviewed_version"] = (isset($rev[10])) ? $rev[10] : '';

0 commit comments

Comments
 (0)