'AttributeError: 'GoogleImageScraper' object has no attribute 'driver'
So, i'm trying to make a face comparision with python and a google image scaper but I don't know why I'm getting this error:
Traceback (most recent call last):
File "c:\Users\..\Desktop\face_recognition\main.py", line 79, in find_image_urls
self.driver.get(self.url)
AttributeError: 'GoogleImageScraper' object has no attribute 'driver'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\..\Desktop\face_recognition\main.py", line 189, in <module>
image_urls = image_scrapper.find_image_urls()
File "c:\Users\..\Desktop\face_recognition\main.py", line 81, in find_image_urls
self.driver.get(url=self.url)
AttributeError: 'GoogleImageScraper' object has no attribute 'driver'
My main.py file
Please help me this is very important.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
