Giter VIP home page Giter VIP logo

doubanspider's Introduction

豆瓣Top250爬虫项目

前言

刚开始学爬虫,拿豆瓣练练手,过程中感觉豆瓣的页面结构还是比较简单的, 刚学爬虫的小伙伴们可以参考一下

目的

爬取豆瓣上250部最佳影片的基本信息,包括片名、影片恻写、导演、评论数量、 年代、主演、评分等

特征

  • 头部处理
  • Python实现
  • 采用经典爬虫框架 scrapy
  • 通过 xpath 动态查找下一页

数据

数据

注意

  • 开发环境为windows,可能会有不可预测的状况出现
  • 调用windows cmdline API来启动爬虫,其他环境请自行调整
  • 每次运行会重复往csv文件中输入数据,建议自行删除douban.csv文件后再运行
  • 程序入口位于scrapyspider/spiders目录下main.py文件

doubanspider's People

Watchers

 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.