Git Product home page Git Product logo

bing_image_crawler's Introduction

forthebadge forthebadge awesome Download link

bing_image_crawler 🕷️

A crawler for Bing image.

How to use it?

  1. git clone https://github.com/jacky0115/bing_image_crawler.git or click Code button, then click Download ZIP.
  2. Open the folder you just downloaded, you have to unzip the zipped folder first if you use the Download ZIP method.
  3. If you have Python in your computer, then open the terminal and cd to the folder where you just downloaded. For example, if you download bing_image_crawler to C:\Users\username\Downloads on Windows, then type cd C:\Users\username\Downloads\bing_image_crawler in the terminal. Similarly, do the same procedure on Linux or mac OS.
  4. Type pip install -r requirements.txt in the terminal to install all python modules that bing_image_crawler would need.
  5. Type python bing_image_crawler.py on Windows, python3 bing_image_crawler.py on Linux and mac OS to activate bing_image_crawler.
  6. It will first ask you what kinds of picture you want to download, just enter the query and then press Enter.
  7. Then it will ask you the numbers of image that you want to download, just enter the number and then press Enter.
  8. Finally, it will ask you about download folder location. bing_image_crawler will create a folder which is named after you query.
  9. Go make some coffee☕ and after you finish your low tea, you will see all images in the folder.

📝P.S. : If you see some urls in the terminal. That means bing_image_crawler can't download those pictures for some reason. You can download them manually if necessary.

Future change

  • Use aiopipe instead of multiprocessing.Value to communicate between processes in pool. Then I can use pool.starmap() to invoke download_image which is an async function. And that would definitely make bing_image_crawler faster. But actually, I'm not sure that objects return from aiopipe can be pickled by pool.starmap(). I will try it someday.

bing_image_crawler's People

Contributors

jacky0115 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.