FantasyFootballAnalytics / FantasyFootballAnalyticsR

R scripts and data files for the Fantasy Football Analytics website
http://fantasyfootballanalytics.net/
453 stars 1.58k forks source link

FantasyPros Scrape fails for all positions but DST #35

Closed jeremypernicek closed 5 years ago

jeremypernicek commented 8 years ago

Scrape summary is below. The FantasyPros scrape is failing for nearly all positions when running the scrape script below.

myScrapeData <- runScrape(week = 0, season = 2016, analysts = c(-1, 3, 4, 5, 6, 7, 9, 11, 12, 13, 14, 15, 22, 23, 17, 18, 19, 20, 28), positions = c("QB", "RB", "WR", "TE", "K", "DST"), fbgUser = "my_username", fbgPwd = "my_password")

Scrape Summary: QB : Successfully: CBS Average, Yahoo Sports, ESPN, NFL, FOX Sports, FFToday, David Dodds, Maurile Tremblay, Bob Henry, Jason Wood, FantasySharks, FantasyData Failed: FantasyPros, EDS Football, FantasyFootballNerd, WalterFootball RB : Successfully: CBS Average, Yahoo Sports, ESPN, NFL, FOX Sports, FFToday, David Dodds, Maurile Tremblay, Bob Henry, Jason Wood, FantasySharks, FantasyFootballNerd, WalterFootball, FantasyData Failed: FantasyPros, EDS Football WR : Successfully: CBS Average, Yahoo Sports, ESPN, NFL, FOX Sports, FFToday, David Dodds, Maurile Tremblay, Bob Henry, Jason Wood, FantasySharks, FantasyFootballNerd, WalterFootball, FantasyData Failed: FantasyPros, EDS Football TE : Successfully: CBS Average, Yahoo Sports, ESPN, NFL, FOX Sports, FFToday, David Dodds, Maurile Tremblay, Bob Henry, Jason Wood, FantasySharks, FantasyFootballNerd, WalterFootball, FantasyData Failed: FantasyPros, EDS Football K : Successfully: CBS Average, Yahoo Sports, NFL, FOX Sports, FFToday, David Dodds, Maurile Tremblay, FantasySharks, FantasyFootballNerd, WalterFootball, FantasyData Failed: FantasyPros, Mike Herman DST : Successfully: CBS Average, Yahoo Sports, NFL, FOX Sports, FFToday, David Dodds, Maurile Tremblay, FantasySharks, FantasyFootballNerd, FantasyData Failed: NA

jeremypernicek commented 8 years ago

Here's what I get when just trying to scrape FantasyPros QB's

myScrapeData <- runScrape(week = 0, season = 2016, analysts = c(9), positions = c("QB"), fbgUser = NULL, fbgPwd = NULL)

Retrieving player data Empty data table retrieved from

https://www.fantasypros.com/nfl/projections/qb.php?week=draft

Scrape Summary: QB : Successfully:
Failed: FantasyPros Warning message:

isaactpetersen commented 8 years ago

Works for me. What do you get when you run sessionInfo()?

isaactpetersen commented 5 years ago

See the latest version of the app here: https://github.com/FantasyFootballAnalytics/ffanalytics