JaseZiv/worldfootballR

Error with fb_match_urls

PoeShay opened this issue · 0 comments

urls=fb_match_urls(country = "FRA", gender = "M", season_end_year = c(2019:2021), tier = "1st")

Above is the code I type in and below is the output in the console

Error in purrr::map():
ℹ In index: 1.
Caused by error in read_html.response():
! Forbidden (HTTP 403).
Run rlang::last_trace() to see where the error occurred.
Warning message:
In session_set_response(x, resp) : Forbidden (HTTP 403).


I was wondering if this is an issue with the scraping from fbref or if I was inputting something wrong in the function text, thank you!

library(worldfootballR)
packageVersion("worldfootballR")