Skip to content

Commit

Permalink
fix nos.nl
Browse files Browse the repository at this point in the history
  • Loading branch information
JBGruber committed May 30, 2024
1 parent 778c0b6 commit 125b34e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: paperboy
Title: Comprehensive Collection of News Media Scrapers
Version: 0.0.6.9000
Date: 2024-05-01
Date: 2024-05-30
Authors@R:
person(given = "Johannes B.",
family = "Gruber",
Expand Down
3 changes: 2 additions & 1 deletion R/deliver_nos_nl.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ pb_deliver_paper.nos_nl <- function(x, verbose = NULL, pb, ...) {

# text
text <- html %>%
rvest::html_elements("#content .eHATPt>p") %>%
rvest::html_elements("#content p,#content h2") %>%
rvest::html_text2() %>%
setdiff("Deel artikel:") %>%
paste(collapse = "\n")

cover_image_html <- html %>%
Expand Down

0 comments on commit 125b34e

Please sign in to comment.