Learn R Programming

N2H4 (version 0.5.9)

getContent: Get Content

Description

Get naver news content from links.

Usage

getContent(
  turl,
  col = c("url", "datetime", "edittime", "press", "title", "body"),
  try_cnt = 3
)

Arguments

turl

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.

Value

a [tibble][tibble::tibble-package]

Examples

Run this code
# NOT RUN {
  print(news_url_ex)
  getContent(news_url_ex)
  
# }

Run the code above in your browser using DataLab