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

Getting Errors #2

Closed
tares003 opened this issue Oct 15, 2017 · 3 comments
Closed

Getting Errors #2

tares003 opened this issue Oct 15, 2017 · 3 comments

Comments

@tares003
Copy link

Hi,

This is what i running:

import play_scraper
import csv
import json
data=( play_scraper.search("Disney", page=1, detailed=True))
print(data.count(data))

also same when running:
print play_scraper.details('com.android.chrome')

Getting errors:

    data=( play_scraper.search("Disney", page=1, detailed=True))
  File "C:\Python27\lib\site-packages\play_scraper\api.py", line 79, in search
    return s.search(query, **kwargs)
  File "C:\Python27\lib\site-packages\play_scraper\scraper.py", line 415, in search
    apps = self._parse_multiple_apps(response)
  File "C:\Python27\lib\site-packages\play_scraper\scraper.py", line 273, in _parse_multiple_apps
    apps.append(self._parse_app_details(soup))
  File "C:\Python27\lib\site-packages\play_scraper\scraper.py", line 155, in _parse_app_details
    updated = additional_info.select_one('div[itemprop="datePublished"]')
AttributeError: 'NoneType' object has no attribute 'select_one'

Thanks,

@rchatterjee
Copy link

Same here.

@arshad115
Copy link

Same, doesnt work

@danieliu
Copy link
Owner

Just updated all the parsing to the more recent, much more obfuscated HTML/CSS selectors on the current play store. These should work now.

NiteshOswal referenced this issue in NiteshOswal/play-scraper Dec 3, 2020
"Contains ads" needs to be changed to "Contains Ads"
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

4 participants