Giter Site home page Giter Site logo

imagespider's Introduction

图片爬虫

保存数据到数据库

  • wb.py 微博图片爬虫(可能会 cookie 过期)「可用」

  • douban.py 豆瓣电影明星图片爬虫 『不确定是否可用』

wb.py 使用说明

  • star_id: 在微博上获取要爬取的明星 id
  • since_id: 上一次爬取的位置,可在对应文件目录的 record.text 文件内取值

正确运行后,会在 根目录下创建 web\[start_id]对应的文件夹,文件夹内img保存图片信息,reord.text记录上次 请求的 since_id 相关数据

技术说明

python 版本: 3.7

注意

新浪微博如果你短时间内请求太多,可能会被封 ip ...

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.