Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getSearch() not working any more. #23

Open
jokajoka4 opened this issue Oct 3, 2019 · 7 comments
Open

getSearch() not working any more. #23

jokajoka4 opened this issue Oct 3, 2019 · 7 comments

Comments

@jokajoka4
Copy link

The getSearch() is not finding any results. Maybe it is because Google has changed the .classes which the scraper is using to filter content.

Can you check if this is the case?

@ketty22
Copy link

ketty22 commented Oct 7, 2019

In parseAppList function try class name with card, if its not working then put class name "Vpfmgd".
and try this code
$app['title'] = $node->filter('.WsMG1c')->attr('title');
$app['image'] = $node->filter('span.kJ9uy > span > img.T75of')->attr('data-src');
$app['author'] = $node->filter('a.mnKHRc div.KoLSrc')->text();
If this will not work then for class "card",,,, put following code inside
$app['title'] = $node->filter('a.title')->attr('title');
$app['image'] = $this->getAbsoluteUrl($node->filter('img.cover-image')->attr('data-cover-large'));
$app['author'] = $node->filter('a.subtitle')->attr('title');

@jokajoka4
Copy link
Author

I'm not sure how to use the class name with card. But I changed the first class to ".Vpfmgd". That made it work. Also I used the ".WsMG1c" for fetching the title. Image and author were still working fine.

Thank you very much!

@ketty22
Copy link

ketty22 commented Oct 7, 2019 via email

@ketty22
Copy link

ketty22 commented Oct 7, 2019 via email

@ketty22
Copy link

ketty22 commented Oct 7, 2019 via email

@jokajoka4
Copy link
Author

I think it is because. https://play.google.com/store/ by default is showing 50 apps pr. page.

@ketty22
Copy link

ketty22 commented Oct 7, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants