ohyicong / Google-Image-Scraper

A library to scrap google images
377 stars 142 forks source link

2 things #34

Open githubUser01946 opened 1 year ago

githubUser01946 commented 1 year ago

Whilst I was asking for "Concept Cars" it was downloading them as it should but then this error popped up, it still continued to do its job though but I wondered if its something I can fix?

[1122/093618.911:INFO:CONSOLE(0)] "Mixed Content: The page at 'https://www.google.com/search?q=concept%20car&source=lnms&tbm=isch&sa=X&ved=2ahUKEwie44_AnqLpAhUhBWMBHUFGD90Q_AUoAXoECBUQAw&biw=1920&bih=947#imgrc=b7uOzF4DcMfOsM' was loaded over HTTPS, but requested an insecure element 'http://cdn.cnn.com/cnnnext/dam/assets/190710104659-bentley-exp-100-gt-1.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html", source: https://www.google.com/search?q=concept%20car&source=lnms&tbm=isch&sa=X&ved=2ahUKEwie44_AnqLpAhUhBWMBHUFGD90Q_AUoAXoECBUQAw&biw=1920&bih=947#imgrc=b7uOzF4DcMfOsM (0)

Also, I just went to find the images and only 1 appears in: Google-Image-Scraper\photos\concept car

I have other folders per the search terms and they're empty but according to cmd it has recieved other images, i can't locate them though currently.: image

ohyicong commented 1 year ago

I'm not sure how your main.py looks like, but it works for me.

image

ohyicong commented 1 year ago

Can you check if your Google-Image-Scraper\webdriver folder contains chromedriver.exe ?

githubUser01946 commented 1 year ago

Yes I do and a resume in there also.

On Wed, 23 Nov 2022, 12:45 pm Jayden Oh Yicong, @.***> wrote:

Can you check if your Google-Image-Scraper\webdriver folder contains chromedriver.exe ?

— Reply to this email directly, view it on GitHub https://github.com/ohyicong/Google-Image-Scraper/issues/34#issuecomment-1325003972, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4ADEBZWRICHMOQML4QYGXTWJYGXNANCNFSM6AAAAAASHSZHKE . You are receiving this because you authored the thread.Message ID: @.***>

ohyicong commented 1 year ago

Able to resolve it with my main.py example above?

githubUser01946 commented 1 year ago

The main.py file is almost the same but where you have 5 I have 50.