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

play_scraper.collection () Not Working #72

Open
knoxwave opened this issue Jun 18, 2020 · 2 comments
Open

play_scraper.collection () Not Working #72

knoxwave opened this issue Jun 18, 2020 · 2 comments

Comments

@knoxwave
Copy link

File "3.py", line 2, in
print(play_scraper.collection(
File "C:\Users\Knox\AppData\Local\Programs\Python\Python38-32\lib\site-packages\play_scraper\api.py", line 41, in collection
return s.collection(collection, category, **kwargs)
File "C:\Users\Knox\AppData\Local\Programs\Python\Python38-32\lib\site-packages\play_scraper\scraper.py", line 132, in collection
response = send_request('POST', url, data, self.params)
File "C:\Users\Knox\AppData\Local\Programs\Python\Python38-32\lib\site-packages\play_scraper\utils.py", line 121, in send_request
response.raise_for_status()
File "C:\Users\Knox\AppData\Local\Programs\Python\Python38-32\lib\site-packages\requests\models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://play.google.com/store/apps/category/GAME_RACING/collection/movers_shakers?hl=en&gl=us

@goddard82
Copy link

Same applies to categories & details

AttributeError: module 'play_scraper' has no attribute 'categories'

@Earthwater
Copy link

Sure, it is a bug now. Once you try this url in your browser, you would also get 404 error, an alternative way is to use collection method merely, and filter the results returned with category.

Or waiting for the nice contributors of this useful project to fix this bug.

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

3 participants