Learn R Programming

N2H4 (version 0.5.2)

getContentBody: Get Content body name.

Description

Get naver news body from link.

Usage

getContentBody(html_obj, body_node_info = "div#articleBodyContents",
  body_attr = "")

Arguments

html_obj

"xml_document" "xml_node" using read_html function.

body_node_info

Information about node names like tag with class or id. Default is "div.article_info h3" for naver news title.

body_attr

if you want to get attribution text, please write down here.

Value

Get character body content.