Skip to content

Commit

Permalink
fix: new url; closes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
kalab-oto committed Apr 23, 2024
1 parent 5e0ae87 commit cd3ab6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/ndop_download.R
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ ndop_download <- function(species, family, group, locations = 0, search_payload)
if (num_rec == frompage + pagesize) {
cat(num_rec)
}
table_url <- paste0("https://portal.nature.cz/nd/find.php?",
table_url <- paste0("https://portal23.nature.cz/nd/find.php?",
"akce=seznam&opener=&vztazne_id=0&",
"order=ID_ND_NALEZ&orderhow=DESC&frompage=",
format(frompage, scientific = FALSE),
Expand Down
2 changes: 1 addition & 1 deletion R/ndop_search.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ndop_search <- function(search_payload){
SEARCH_URL <- paste0("https://portal.nature.cz/nd/find.php",
SEARCH_URL <- paste0("https://portal23.nature.cz/nd/find.php",
"?akce=seznam&opener=&vztazne_id=0")
if (!exists("isop_loginhash") || is.na(isop_loginhash)) {
isop_login()
Expand Down

0 comments on commit cd3ab6e

Please sign in to comment.