Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


N2H4 (version 0.8.4)

getComment: Get Comment

Description

Get naver news comments. if you want to get data only comment, enter command like below. getComment(url)$result$commentList[[1]]

Usage

getComment(turl, count = 10, type = c("df", "list"))

Value

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

Arguments

turl

like <https://n.news.naver.com/mnews/article/023/0003712918>.

count

is a number of comments. Defualt is 10. "all" works to get all comments.

type

type return df or list. Defualt is df. df return part of data not all.

Examples

Run this code
if (FALSE) {
  getComment("https://n.news.naver.com/mnews/article/421/0002484966?sid=100")
}

Run the code above in your browser using DataLab