강의

멘토링

커뮤니티

Inflearn Community Q&A

fineday02075045's profile image
fineday02075045

asked

Web Crawling with R - Introduction

크롤링 후 > character(0) 만 도출....ㅠㅠㅠ

Written on

·

318

0

 items %>% html_nodes(css = 'dl dd:nth-child(2) span') %>% html_text()

> character(0)

아래 '장점', '단점'을 크롤링 하려고 하는데 자꾸 character(0) 이라고 결과가 뜹니다. css 모두 확인했습니다.

 

다른 명령은 잘 나오는데요... 

items %>% html_nodes(css = 'div.content_top_ty2 span:nth-child(2)') %>% html_text()

[1] "미디어/홍보"     "디자인"          "디자인"          "마케팅/시장조사" "미디어/홍보"   

 

혹시 방법을 알 수 있을까요? ㅠㅠㅠ

R웹-크롤링

Answer

This question is waiting for answers
Be the first to answer!
fineday02075045's profile image
fineday02075045

asked

Ask a question