tidyverse / rvest

Simple web scraping for R
https://rvest.tidyverse.org
Other
1.49k stars 343 forks source link

example in `session()` breaks because target file name has changed #419

Closed luisDVA closed 3 weeks ago

luisDVA commented 2 months ago

Hi! The example for session() is breaking because the target image url in the example (https://hadley.nz/hadley-wickham.jpg) does not exist any more so a 404 is thrown. This makes the tests fail.

 s <- session("http://hadley.nz")
 s |>
   session_jump_to("hadley-wickham.jpg") |>
   session_jump_to("/") |>
   session_history()

Looking at the hadleyzn website repo, the image filename is just 'hadley.jpg'