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

Add maps/local results detection #45

Open
siparker opened this issue Nov 2, 2018 · 2 comments
Open

Add maps/local results detection #45

siparker opened this issue Nov 2, 2018 · 2 comments

Comments

@siparker
Copy link

siparker commented Nov 2, 2018

It would be nice to see Maps results detected in scrapes.

@ecoron
Copy link
Owner

ecoron commented Nov 16, 2018

Hi, yes would be nice. In what kind of data you are interessted for map results?

@siparker
Copy link
Author

siparker commented Jan 2, 2019

basics i would look for would be if map results are shown and the content of each one.

Would be nice to extend that out to then visit the maps listings for the search and scrape each one of those. the below are what i am using for gmaps selectors currently in chrome selenium. there are some issues but its a start?

google home More Places link class

mp = ".DLOTif"
# CSS selector for all the listings in left column
al = ".uQ4NLd"
# Ad CSS selector for container
ad = ".Z98Wse"
# Image Container CSS selector
img = ".b9tNq"
# company name in left bar css selector
cn = ".dbg0pd"
# company name in the right hand side
cnr = ".kp-header .kno-ecr-pt span"
# right hand address
addr = ".LrzXr"
# rating value
rtng = ".immersive-container .TLYLSe .rtng"
# amount of google reviews text
ratingtext = ".immersive-container .TLYLSe .fl a"
# missing elements class name
missingel = ".qe9kJc"
# phone number
pho = ".lqhpac div:nth-child(4) span"

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