Skip to content

Commit

Permalink
fixing imgpath in images_scrap
Browse files Browse the repository at this point in the history
  • Loading branch information
401118 committed Jul 16, 2024
1 parent 6291795 commit 3bf0b8e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion R/images_scrap.R
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ images_scrap <- function(link,
for (i in seq_along(img_urls_f)) {

download.file(img_urls_f[i],
destfile = basename(img_urls_f[i]),
destfile = paste0(imgpath, "/", basename(img_urls_f[i])),
mode = "wb")

}
Expand Down
2 changes: 0 additions & 2 deletions R/pdfs_scrap.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,13 @@
}
}


)

}

}



#' Scrape and download pdf files from a Web Page
#'
#' @param link the link of the web page
Expand Down

0 comments on commit 3bf0b8e

Please sign in to comment.