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

Support Initial place map url #10

Open
SulimanLab opened this issue Nov 29, 2020 · 2 comments
Open

Support Initial place map url #10

SulimanLab opened this issue Nov 29, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@SulimanLab
Copy link

Hello, is there a plan for supporting Initial place map url rather than clicking on reviews button.

the idea is i want to automate the whole extraction operation without human intervention (clicking on reviews).

@gaspa93
Copy link
Owner

gaspa93 commented Dec 5, 2020

Hi @SulimanLab,

yes it is feasible: basically if you start from initial place map, you have to implement one more click. In doing so, you have also to take into account some exceptions, such as no review available, so for now I am not planning to do it because I can add it in the next steps.
Thank you for your feedback, and if you want to proactively collaborate to develop this part, I appreciate a lot.

@gaspa93 gaspa93 added the enhancement New feature or request label Dec 5, 2020
@gaspa93 gaspa93 added this to the Full pipeline automatisation milestone Dec 5, 2020
@stajdini
Copy link

stajdini commented Feb 28, 2023

In googlempas.py, under get_acount, I changed:

    self.driver.get(url)

to:

    self.driver.get(url)
    time.sleep(2)

    self.driver.find_elements_by_xpath('//*[@id="QA0Szd"]/div/div/div[1]/div[2]/div/div[1]/div/div/div[2]/div[1]/div[1]/div[2]/div/div[1]/div[2]').click()

and now I can use initial place map urls.

@gaspa93 gaspa93 self-assigned this Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants