FantasyFootballAnalytics / ffanalytics

ffanalytics R package
http://ffanalytics.fantasyfootballanalytics.net/
163 stars 100 forks source link

Error in FFToday scrape: #133

Closed BeardedJayhawk closed 1 year ago

BeardedJayhawk commented 1 year ago

ffanalytics:::scrape_fftoday(pos = c("QB", "RB", "WR", "TE"), season = 2022, week = 17)

throws this error:

The FFToday scrape uses a 2 second delay between pages
Scraping QB projections from
 https://www.fftoday.com/rankings/playerwkproj.php?Season=2022&GameWeek=17&PosID=10&LeagueID=1
Error in base::`[[`(., 1) : subscript out of bounds
atungate commented 1 year ago

Hey BeardedJayhawk, the fftoday projections are typically up later in the week (e.g., it is up today but I do not think it was up yesterday). All year they have put up their scrape a day or two after other sites. I'll close this for now but revisit more informative error message this offseason. Thanks for flagging!