Git Product home page Git Product logo

Comments (10)

Chetan11-dev avatar Chetan11-dev commented on May 22, 2024 1

Yes, I am not adding it.

from google-maps-scraper.

Chetan11-dev avatar Chetan11-dev commented on May 22, 2024

Should be fixes in v2

from google-maps-scraper.

sh3ll4rpw avatar sh3ll4rpw commented on May 22, 2024

Perfect. Socks5 support in V2 too?

from google-maps-scraper.

Chetan11-dev avatar Chetan11-dev commented on May 22, 2024

I don't know how to do it? Could you patch v2 (Once Released) and send me the Code I will learn it.

from google-maps-scraper.

sh3ll4rpw avatar sh3ll4rpw commented on May 22, 2024

I just see it can be easily done with an argument. https://stackoverflow.com/questions/53082267/how-can-i-set-socks5-proxy-for-selenium-webdriver-python Not necessary to add this to your code.

from google-maps-scraper.

sh3ll4rpw avatar sh3ll4rpw commented on May 22, 2024

Can you re-open this issue? It's not resolved in V2. Scraper got stuck fetching links exactly at the same place as on the screenshot I added when opening this issue

Stuck for 1 hour now

Screenshot from 2023-07-04 03-59-52

from google-maps-scraper.

sh3ll4rpw avatar sh3ll4rpw commented on May 22, 2024

queries:

Header
toyota-europe.com in Belgie
exxonmobil.be in Belgie
janssen.com in Belgie
engie.be in Belgie
be.gsk.com in Belgie
colruytgroup.com in Belgie
services.totalenergies.be in Belgie
basf.com in Belgie
mazda.eu in Belgie
volvocars.com in Belgie
mastercard.be in Belgie
arcelormittal.com in Belgie

config.py:

import csv

with open('input/input.csv', 'r') as file:
    next(file) # drop header
    varlist = [row[0] for row in csv.reader(file, delimiter=",")]
    
queries = [{"keyword": q, "has_website": True, "max_results": 20, } for q in varlist]

But in V1 without using csv and varlist it got stuck at the same place. After Fetching volvocars.com in Belgie. When I pick another random chuck of queries it gets stucks again after fetching 25~ queries.

Edit:
Strange enough. When I place volvocars.com in Belgie at query 11 instead of 13. It gets stuck after 11. It gets stuck after fetching volvocars.com in Belgie. It doesn't matter what search query I put after

from google-maps-scraper.

sh3ll4rpw avatar sh3ll4rpw commented on May 22, 2024

I took another selection of queries. It keep getting stuck after fetching the 9th query. I run it 4 time in a row to check what happens. Now it gets stuck after fetching the second query every time I run the scraper

from google-maps-scraper.

Chetan11-dev avatar Chetan11-dev commented on May 22, 2024

It has to be a selenium issue. My advice you is to get a friend's computer and run it there, till some one comes and provide solution. As I really don't know why it occurs.

from google-maps-scraper.

Chetan11-dev avatar Chetan11-dev commented on May 22, 2024

@sh3ll4rpw, It was a coding bug, I resolved it please use latest version.

from google-maps-scraper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.