get.movie.comment: <e9><80><9a><e8><bf><87><e7><a7><bb><e5><8a><a8><e7><bd><91><e9><a1><b5><e8><8e><b7><e5><8f><96><e8><b1><86><e7><93><a3><e7><94><b5><e5><bd><b1><e7><9a><84><e7><9f><ad><e8><af><84>.

Description Usage Arguments Value Author(s) Examples

View source: R/get.movie.comment.R

Description

通过移动网页m.douban.com获取豆瓣电影的短评。

Usage

1
get.movie.comment(movieid,results=100,fresh=20,verbose=TRUE)

Arguments

movieid

豆瓣电影的id号

results

获取评论的数量,默认100

fresh

页面异常时最大刷新次数,默认20

verbose

verbose=TRUE则显示详细过程信息,否则不显示,默认TRUE

Value

author

作者昵称

author_id

作者豆瓣ID

comment

短评内容

rating

作者对电影的评分

Author(s)

qxde01<qxde01@gmail.com>

Examples

1
2
## http://m.douban.com/movie/subject/11627047/comments
## Not run: cmt<-get.movie.comment(movieid=11627047,fresh=20,results=100,verbose=TRUE)

qxde01/Rdouban documentation built on May 26, 2019, 11:55 p.m.