Giter Club home page Giter Club logo

zhihu_image_crawler's Introduction

知乎图片下载小助手

背景

  • 突然看到四年前写的小工具,今天顺手重构了一下,想去快速抓一些问题配图的,可以拿去玩玩,请勿用于商业/非法场景(应该也不可能)。
  • 只是重构了 zhihu_question_pic_crawler.py 这一个脚本,另一个已经作废,也懒得重构了,有兴趣自己来搞吧。
  • 该爬虫对图片的解析获取与下载采用了多线程处理,一边解析问题答案,一边下载其中的图片,整体速度还可以,需要更快速度,可以自行改写

使用方法

  1. 命令行运行 python3 zhihu_question_pic_crawler.py
  2. 输入要抓取的questionid,也就是知乎链接中question/后面的数字,图片会存储在脚本所在文件夹的storage/下对应以questionid为名的文件夹下。最后

enjoy it

zhihu_image_crawler's People

Contributors

hacklyc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zhihu_image_crawler's Issues

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.