代码之家  ›  专栏  ›  技术社区  ›  antecessor

同时测试多个文本行

  •  0
  • antecessor  · 技术社区  · 6 年前

    enter image description here

    所有这些的css是 .incentives__text .

      url <- read_html("https://www.udemy.com/linux-linux-security-masterclass-3-in-1/")
    
      incentives <- list()
    
      incentives <- url %>%
                html_nodes(".incentives__item") %>% # isloate the text
                html_text() # get the text
    

    这只不过是擦掉了第一条线,但我想一下子把所有的激励措施都凑齐。我该怎么做?

    0 回复  |  直到 6 年前