download
download(count: int, path: str = "./img", threads: int = 1) -> bool
download(count: int, path: str = "./img", threads: int = 1) -> boolfrom searchx import Client
client = Client()
# Assuming we have image search results
results = client.search("cute cats", type="images", pages=2)
# Downloading images
success = results.download(count=15, path="./my_images", threads=4)
if success:
print("Images successfully downloaded.")
else:
print("Error downloading images.")Last updated