espnff
espnff copied to clipboard
Private League Auth
I see you added cookie support, and I was able to hack my way into using it. However, I think you should document this, and provide a method for setting your cookies. The only way I could get this to work was by hacking the cookie var in the module itself.
I installed this project via git instead of pip and was able to authenticate like so:
league = League(config['league_id'], config['season_id'], espn_s2=config['espn_s2'], swid=config['swid']) print(league.teams)
[Team(Scranton Stranglers), Team(Night Man), Team(Electric Boogaloos), Team(Yung Peen), Team(FIGHT MILK), Team(NFL Street 2 Street King), Team(Greer Toe Knives), Team(Bosa Deez Nuts)]