getContent: Get Content

Description Usage Arguments Value

Description

Get naver news content from links.

Usage

1
2
getContent(url, col = c("url", "datetime", "press", "title", "body"),
  try_cnt = 3, sleep_time = rnorm(1), async = FALSE, ...)

Arguments

url

is naver news link.

col

is what you want to get from news. Defualt is all.

try_cnt

is how many you want to try again if error. Default is 3.

sleep_time

is wait time to try again. Default is rnorm(1).

async

async crawling if it is TRUE. Default is FALSE.

...

you can use child function params like title_node_info.

Value

Get data.frame(url,datetime,press,title,body).


mrchypark/N2H4 documentation built on May 23, 2019, 7:14 a.m.