espnff icon indicating copy to clipboard operation
espnff copied to clipboard

Private League Auth

Open thend20 opened this issue 6 years ago • 1 comments

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.

thend20 avatar Sep 06 '18 02:09 thend20

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)]

g-rock avatar Oct 13 '18 19:10 g-rock