→ celestialgod: 我用GET + set_cookie一樣可以抓阿@@ 03/21 15:30
→ celestialgod: x是GET下來的物件,要文字就用content(x, "text") 03/21 15:39
→ celestialgod: 配xml2的話就用下面的指令 03/21 15:39
→ celestialgod: xml_find_all(content(x), 03/21 15:40
→ celestialgod: "//div[@id='main-content']") 03/21 15:40
→ celestialgod: 再%>% xml_text就可以抓整篇文章下來了 03/21 15:42
→ celestialgod: windows再搭配stri_conv轉成big5 03/21 15:42
→ celestialgod: 如果是要用XML就把content(x, "text")丟到htmlParse 03/21 15:45
→ wheado: 太神啦 我等等來試試看!! 謝謝大大 03/21 16:11
→ wheado: 我弄這個弄到好幾天都睡不好 QQ 03/21 16:11