You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new 2.2.1 version came through as an update a few minutes ago. In the clip below, the "gettxt" is always returning an empty string (""). Things were working fine in 2.1.1
It totally broke my program. Here's a snippit:
Thank you very much for raising an issue again. I urgently fixed bugs and uploaded a new version (2.2.2) to CRAN. It would take several days for the new version to be made available.
The new 2.2.1 version came through as an update a few minutes ago. In the clip below, the "gettxt" is always returning an empty string (""). Things were working fine in 2.1.1
It totally broke my program. Here's a snippit:
some URLs which reliably return information
https://www.alaskasnewssource.com/news/
https://www.nbclosangeles.com/news/local/
https://wgntv.com/news/chicago-news/
function to process incoming sources
process_url <- function(this_url){
raw_page <- gettxt(this_url) # grab the web page contents
print(raw_page)
}
the following routine LOOPs through a long file of sources URLs
a little sample of typical URLs is listed on lines 1:3
victor <- try(process_url(cur_url)) # call the processing subroutine
if(class(victor)=="try-error"){
print("this source is no good")
bad_urls <- c(bad_urls,source.name)
next
}
The text was updated successfully, but these errors were encountered: