simple_image_download icon indicating copy to clipboard operation
simple_image_download copied to clipboard

AttributeError: 'simple_image_download' object has no attribute 'search_urls'

Open skuma307 opened this issue 3 years ago • 4 comments

Hi, thanks for this wonderful library. I tried downloading the image and the URLs for those images but I got below mentioned error: `--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) in 1 from simple_image_download import simple_image_download as simp 2 response = simp.simple_image_download() ----> 3 response.search_urls('Circular economy', limit=5) 4 for url in response.cache: 5 print(url)

AttributeError: 'simple_image_download' object has no attribute 'search_urls'`

I am trying on Google Colab and also tried on Windows but it is giving the same error. Can you please help me fix this? Thanks in advanced.

skuma307 avatar Feb 23 '23 15:02 skuma307

you should try: import simple_image_download.simple_image_download as simp response = simp.Downloader() response.search_urls('Circular economy', limit=5)

vovod avatar Mar 25 '23 09:03 vovod

above solution did not work for me: AttributeError: module 'simple_image_download.simple_image_download' has no attribute 'Downloader'

Toon-nooT avatar Aug 31 '23 11:08 Toon-nooT

I think simple image downloaded didn't work anymore, you should try bing image download, that worked for me

vovod avatar Sep 02 '23 10:09 vovod

above solution did not work for me: AttributeError: module 'simple_image_download.simple_image_download' has no attribute 'Downloader'

from simple_image_download import simple_image_download as simp
response = simp.simple_image_download()
response.urls('Circular economy', limit=5)

cobaltautomationdev avatar Oct 24 '23 08:10 cobaltautomationdev