Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad news with 2.2.1 #2

Open
dpkesling opened this issue Jun 10, 2022 · 1 comment
Open

bad news with 2.2.1 #2

dpkesling opened this issue Jun 10, 2022 · 1 comment

Comments

@dpkesling
Copy link

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
}

@replicable
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants