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

Outdated css class name for GPlay #42

Closed
Kyry opened this issue Apr 17, 2019 · 3 comments · Fixed by #43
Closed

Outdated css class name for GPlay #42

Kyry opened this issue Apr 17, 2019 · 3 comments · Fixed by #43
Labels

Comments

@Kyry
Copy link

Kyry commented Apr 17, 2019

Describe the bug
Google probably made update yesterday causing detail method to stop working
play_scraper/utils.py", line 240, in parse_app_details\n icon = (soup.select_one('.dQrBL img.ujDFqe')\nAttributeError: 'NoneType' object has no attribute 'attrs''

To Reproduce
Call detail method of with any package name

Desktop (please complete the following information):

  • play-scraper==0.5.4
@Kyry Kyry added the bug label Apr 17, 2019
@VProgramMist
Copy link

Replace:
icon = (soup.select_one('.dQrBL img.ujDFqe')
with:
icon = (soup.select_one ('. XSyT2c img.T75of')

@kushalkrip
Copy link

Replace:
icon = (soup.select_one('.dQrBL img.ujDFqe')
with:
icon = (soup.select_one ('. XSyT2c img.T75of')

The above correction gives an exception as follows:
Capture

@danieliu
Copy link
Owner

@kushalkrip please update to the latest v0.5.5

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

Successfully merging a pull request may close this issue.

4 participants