powered by
Get naver news press name from link.
getContentPress( html_obj, press_node_info = "div.article_header div a img", press_attr = "title" )
"xml_document" "xml_node" using read_html function.
Information about node names like tag with class or id. Default is "div.article_info h3" for naver news title.
if you want to get attribution text, please write down here. Defalt is "title".
Get character press.
# NOT RUN { print(news_url_ex) hobj <- xml2::read_html(news_url_ex) getContentPress(hobj) # }
Run the code above in your browser using DataLab