-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
As of 2019 semantics have changed and accessing page elements with class queries won't work. Good news is Google Play has Linked Data JSON available. Below is a function to parse information.
def getData(soup):
json_data = soup.find( 'script', { 'type': 'application/ld+json' } )
return json.loads(json_data.get_text())
Here is an example of application/ld+json
contents https://gist.github.com/beinoriusju/36566ac3a57e41680af80186cb16703e
BTW: Thanks for sharing your code. It helped me with my task.
Metadata
Metadata
Assignees
Labels
No labels