Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

Why am I getting the wrong output although the code is correct?

$
0
0

I'm scraping this website and sure that the code is correct for getting titles. But the output is not what I want.

library(rvest)
url <- "https://www.kariyer.net/is-ilanlari/#&kw=data%20scientist"
titles <- read_html(url) %>% 
  html_nodes("div.col-9 a.link.position") %>% 
  html_text()

How do I get rid of this result?


Viewing all articles
Browse latest Browse all 201839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>