Coder Social home page Coder Social logo

baidu-image-spider's Introduction

baidu-image-spider

百度图片爬虫小工具 By Node.js.

emm. 似乎百度图片增强了反爬机制,现在不大行。

Usage

yarn global add baidu-image-spider
# example
bis -k '游戏手柄'

文件默认存储于 tmp/images/关键字 文件夹。

Help

bis -h
Usage: bis [options]

Options:
  -V, --version                  output the version number
  -k, --keyword <keyword>        关键词 (default: "游戏手柄")
  -tp, --total-page <totalPage>  总页数 (default: 1)
  -pp, --per-page <perPage>      每页数量 (default: 30)
  -o, --output <output>          输出文件夹 (default: "tmp/images")
  -h, --help                     display help for command

Ref

Ref BaiduImageSpider, but written with Node.js.

And I've optimized the readability of my code with axios params, and simplified some features and usage methods.

baidu-image-spider's People

Contributors

yunyoujun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zzjalpaca cjh0613

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.