A wrapper of xml2::read_html() with cookie set
to bypass PTT's "over18-confirmation".
read_html2(url, ...)
| url | Character. The URL of the target web page. |
|---|---|
| ... | Additional arguments passed on to
|
An XML document. See read_html
for more information.
url <- "https://www.ptt.cc/bbs/Gossiping/index.html" read_html2(url)