Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dedinc/yamager

Yamager - Simple module for parsing images from Yandex and Google.
https://github.com/dedinc/yamager

downloader google-image-search google-images image-parser image-python parse parser parsing python-parser python3 yandex-parsing

Last synced: 19 days ago
JSON representation

Yamager - Simple module for parsing images from Yandex and Google.

Awesome Lists containing this project

README

        

Yamager - Simple module for parsing images from Yandex and Google.


-How to use?-

```python
from yamager import Yamager
import random

yamager = Yamager()

############Yandex Images############
images = yamager.search_yandex_images('anime') #get image previews
previews = random.choice(images) #get previews of random image
print(yamager.get_best_image(previews)) #get best image of previews with high resolution
#####################################

############Yandex Images with ZenRows bypasser############
images = yamager.search_yandex_images('anime', zenrows='API_KEY')
previews = random.choice(images)
print(yamager.get_best_image(previews))
#####################################

############Yandex Images pages############
images = yamager.search_yandex_images('anime', page=30)
previews = random.choice(images)
print(yamager.get_best_image(previews))
#####################################

############Google Images############
images = yamager.search_google_images('anime')
print(random.choice(images)) #get random image from search
#####################################
```