Skip to content

Commit

Permalink
Update labhist.R
Browse files Browse the repository at this point in the history
  • Loading branch information
mokazuma committed Oct 4, 2015
1 parent b9fb57c commit 62ddc43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/labhist.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ labhist <- function(input, mode="file", output=input, hist=TRUE,
nodtext <- rvest::html_attrs(imgnod)
for(i in 1:length(nodtext)) {
downloader::download(as.character(nodtext[[i]][2]),
sprintf("%s/%s/%s_%02d%s", current, mode, output, i, filetype),
sprintf("%s/%s/%s_%02d%s", current, "scraping", output, i, filetype),
mode="wb")
Sys.sleep(1)
}
Expand Down

0 comments on commit 62ddc43

Please sign in to comment.