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?-
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
#####################################
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.1.1.tar.gz
(3.5 kB
view details)
Built Distribution
File details
Details for the file yamager-1.1.1.tar.gz
.
File metadata
- Download URL: yamager-1.1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b3f2f5fa14fe9451ddf212d281e94fc6951fb0f6ac1bfdc1cd15066c94aa56b |
|
MD5 | 9ef9d5e9f6a17d1d3335b6ed6b322856 |
|
BLAKE2b-256 | f4d77dad433bbf11619fe342bc31450e1c83dd05169265b3c58c920300350890 |
File details
Details for the file yamager-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: yamager-1.1.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ccce9c716e18cf1228499c72a8e7a6fd1ac10cdaa7ba63fc917647253dae8a2 |
|
MD5 | d188325d7d297ba16a13583082c89df4 |
|
BLAKE2b-256 | dbab0c80a9beaed3f05604dfcd32a828faab3fc44e03fc917134b9b66c77ea07 |