New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pictriever

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pictriever

Python library for image scraping, from popular image gallery sites.

  • 0.1.1
  • PyPI
  • Socket score

Maintainers
1

pictriever (still in development..)

An image scraping scraping library in python...
for efficient and flexible mass download of images, dataset creation etc

usage guide

pictriever can be used for downloading a wide range images in few lines of Python, from popular image sites like Bing images, Pexels, Google, etc.

Install the library with pip install pictriever

For images from Pexels(You could also use this template for others)

from pictriever.image_scraper import Pexelscraper
# sample code for downlaoding images of clouds
imscraper = Pexelscraper(search_term='clouds', min_count=10, max_count=100) # start scraper instance
image_links = imscraper.get_imlinks() # to get all the image links; set get_all_links=True
imscraper.download_all_images(link_list=image_links, output_folder='clouds', verbose=False) # set verbose to True if you want progress printing

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc