Yamager - Simple module for parsing images from Yandex and Google.
Project description
Yamager - Simple module for parsing images from Yandex and Google.
-How to use?-
import yamager as yimg
from random import choice
############Yandex Images############
images = yimg.searchYandexImages('anime') #get image previews
previews = choice(images) #get previews of random image
print(yimg.getBestImage(previews)) #get best image of previews with high resolution
#####################################
############Google Images############
images = yimg.searchGoogleImages('anime')
print(choice(images)) #get random image from search
#####################################
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yamager-1.0.2.tar.gz
(2.9 kB
view hashes)