我可以在Chrome浏览器中打开一个没有问题的网址,但使用rvest
时无法使用该网址library(rvest)
u <- "https://github.com/issues?q=is%3Aissue+author%3Atimelyportfolio+is%3Aopen"
dom <-read_html(u)
Error in open.connection(x, "rb") : HTTP error 404
library(httr)
http_status(u)
Error in UseMethod("status_code") :
no applicable method for 'status_code' applied to an object of class "character"
帮助感谢