omkarcloud / google-maps-scraper

👋 HOLA 👋 HOLA 👋 HOLA ! ENJOY OUR GOOGLE MAPS SCRAPER 🚀 TO EFFORTLESSLY EXTRACT DATA SUCH AS NAMES, ADDRESSES, PHONE NUMBERS, REVIEWS, WEBSITES, AND RATINGS FROM GOOGLE MAPS WITH EASE! 🤖
https://www.omkar.cloud/
MIT License
1.11k stars 266 forks source link

TypeError: TaskConfig.__init__() got an unexpected keyword argument 'log_time' #61

Closed salmansarwar5102 closed 10 months ago

salmansarwar5102 commented 11 months ago
D:\python\google-maps-scraper>python main.py
Traceback (most recent call last):
  File "D:\python\google-maps-scraper\main.py", line 3, in <module>
    from src import tasks_to_be_run
  File "D:\python\google-maps-scraper\src\__init__.py", line 1, in <module>
    from .scrape_google_maps_links_task import ScrapeGoogleMapsLinksTask
  File "D:\python\google-maps-scraper\src\scrape_google_maps_links_task.py", line 5, in <module>
    from src.scrape_google_maps_places_task import ScrapeGoogleMapsPlacesTask
  File "D:\python\google-maps-scraper\src\scrape_google_maps_places_task.py", line 5, in <module>
    class ScrapeGoogleMapsPlacesTask(BaseTask):
  File "D:\python\google-maps-scraper\src\scrape_google_maps_places_task.py", line 6, in ScrapeGoogleMapsPlacesTask
    task_config = TaskConfig(output_filename="all",
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: TaskConfig.__init__() got an unexpected keyword argument 'log_time'
Chetan11-dev commented 10 months ago

The issue is fixed. Please re-clone the repository and run it. Remember to execute

python -m pip install -r requirements.txt