Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
skuma307 opened this issue Feb 23, 2023 · 4 comments

Comments

@skuma307
Copy link

skuma307 commented Feb 23, 2023

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.

@vovod
Copy link

vovod commented Mar 25, 2023

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

@Toon-nooT
Copy link

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

@vovod
Copy link

vovod commented Sep 2, 2023

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

@cobaltautomationdev
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants