Skip to content

Commit

Permalink
ci: Look at the first three links for upgrading
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Feb 4, 2025
1 parent 9d45bd1 commit dff6f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data-raw/upgrade.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ html <- xml2::read_html("https://www.sqlite.org/download.html")

latest_name <- html %>%
rvest::html_nodes("a") %>%
xml2::xml_find_all('//*[(@id = "a1")] | //*[(@id = "a2")]') %>%
xml2::xml_find_all('//*[(@id = "a1")] | //*[(@id = "a2")] | //*[(@id = "a3")]') %>%
rvest::html_text() %>%
grep("amalgamation", ., value = TRUE) %>%
.[1]
Expand Down

0 comments on commit dff6f6c

Please sign in to comment.