Giter Site home page Giter Site logo

python-crawler-douban-movie's Introduction

python-crawler-douban-movie

豆瓣电影(短评)爬虫

爬虫

# 爬取到的数据(这里只展示部分数据)
> db.getCollection('movie_26752088_comments').find({}).sort({'date':-1}).limit(3)

/* 1 */
{
    "_id" : ObjectId("5b477a3d14170f331411152d"),
    "author" : "呵呵",
    "date" : ISODate("2018-07-12T08:00:00.000+08:00"),
    "star" : null,
    "vote" : 0,
    "comment" : "想看",
    "is_visit" : false
}

/* 2 */
{
    "_id" : ObjectId("5b477a3d14170f3314111560"),
    "author" : "爱的物语",
    "date" : ISODate("2018-07-12T08:00:00.000+08:00"),
    "star" : null,
    "vote" : 0,
    "comment" : "小病自我診斷\n大病自我了斷\n社會初級階段\n別給國家添亂",
    "is_visit" : false
}

/* 3 */
{
    "_id" : ObjectId("5b477a4014170f33141115d7"),
    "author" : "小小书童",
    "date" : ISODate("2018-07-12T08:00:00.000+08:00"),
    "star" : null,
    "vote" : 0,
    "comment" : "海报跟 辩护人 迷之相似~",
    "is_visit" : false
}

分析

  • 点赞Top10
  • 短评日期分布、走势
  • 词频统计(中文分词),生成词云
  • 评分阶梯分布、日期分布、日期走势
  • 每日评论数走势
词云(词频统计)

15天短评量分布图

15天短评量走势图

python-crawler-douban-movie's People

Contributors

zlikun avatar

Stargazers

 avatar  avatar  avatar  avatar HandsomeForest avatar LiuRi Zhang avatar  avatar  avatar  avatar  avatar Leslee avatar  avatar foqenkfo avatar  avatar  avatar Zheng XiaoDong avatar  avatar  avatar  avatar  avatar Sean avatar  avatar Dujianjun avatar  avatar  avatar Aka DHP avatar  avatar  avatar  avatar  avatar  avatar  avatar Bruce avatar ArthurPang avatar qiaohaoforever avatar  avatar  avatar 梦想橡皮擦 avatar promisingFish avatar  avatar  avatar Akira Le avatar Noisy avatar  avatar  avatar Crazybean avatar  avatar  avatar Reus avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

python-crawler-douban-movie's Issues

question

你好,我想咨询一下,爬取的时候怎么增加爬取的评论数量呢,感觉每个电影爬取50个就结束了

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.