Hello!
I have been trying to web-scrapin this page content: IBGE | Concla | Busca online
But I'm facing a few erros, as you can see:
# Configurando ambiente
options(timeout = 500) # Aumentando tempo de timeout pq a conexão do site é lenta
# Import -----------------------------------------------------------------------
# Configurando proxy
httr::set_config(httr::use_proxy(url = "10.3.100.207", port = 8080))
# Definindo url
url <- "https://cnae.ibge.gov.br/?view=secao&tipo=cnae&versaosubclasse=10&versaoclasse=7&secao=A"
sessao_inicial <- httr::GET(url)
#> Error in curl::curl_fetch_memory(url, handle = handle): Timeout was reached: [cnae.ibge.gov.br] Connection timeout after 10000 ms
page = rvest::read_html(url)
#> Error in open.connection(x, "rb"): error:0A000152:SSL routines::unsafe legacy renegotiation disabled
I tried lots of things, but I think the errors is all like this.
Thanks, guys!