question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Never getting any images

See original GitHub issue

I just cannot get this module to work, it always returns 0 results. Here is a screenshot from the CLI

image

And here is an example where it is used inside a function:

def changewallpaper(keyword):
    resp = google_images_download.googleimagesdownload() # init class
    args = {
            "keywords": f"{keyword} wallpaper",
            "limit": 1,
            "size": "large",
            "print_urls": True
        } #pass args
    download_folder = fr"{os.getcwd()}\downloads\{keyword} wallpaper"
    paths = resp.download(args) #save downloaded image paths to paths var
    print(paths) # printing paths```

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:15
  • Comments:31

github_iconTop GitHub Comments

33reactions
Joeclinton1commented, Sep 22, 2020

@k0a8t1o6 @hoangphuc1998 My patch-1 still works and fixes this issue, install it by running the below code in the cmd

git clone https://github.com/Joeclinton1/google-images-download.git cd google-images-download && python setup.py install

6reactions
Joeclinton1commented, Sep 6, 2020

I have fixed this error in the latest commit of patch-1

To be more specific I have fixed the error below:

Could not open URL. Please check your internet connection and/or ssl settings 
If you are using proxy, make sure your proxy settings is configured correctly

The other error (the first one mentioned) is what my patch was created to solve, and it still does.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix pictures not appearing in text messages - iMore
Sometimes sending pictures to your friend is easy, but sometimes it doesn't seem to work at all. Here's how to fix it!
Read more >
7 Ways to Fix Google Chrome Not Loading Images - MakeUseOf
Is your browser unable to load images? This can be frustrating, but you can try out these various methods to fix the issue...
Read more >
Why Are Web Page Images Not Showing? - Computer Hope
If you don't see any images at all, it's likely an issue on your end and not the web page you're visiting. More...
Read more >
How To Fix People Not Getting Picture Messages ... - YouTube
Ever try to send a picture to your friend with an iPhone and it sends out, according to your phone, but then your...
Read more >
How to fix picture not showing up in phone gallery - YouTube
Transcript · Super Glue and Baking soda! · Nothing Phone (1) Review - ACTUALLY Better than iPhone? · Every Android Setting in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found