Greasemonkey script to display team data on FPL league page
-
- Wideboy
- Posts: 61
- Joined: 21 Aug 2013, 23:37
- FPL:
Re: Greasemonkey script to display team data on FPL league page
nick is here and is working on his script. not so sure it would be ok to post it. posted mine last week up until nick came back.
bottom line, if he approves then ok i'll post mine as well.
bottom line, if he approves then ok i'll post mine as well.
- SuperGrover
- Grumpy Old Man
- Posts: 1540
- Joined: 12 Sep 2012, 15:38
- Location: Chicago, USA
- FPL:
Re: Greasemonkey script to display team data on FPL league page
The Played/To play count is not updating either.
- SuperGrover
- Grumpy Old Man
- Posts: 1540
- Joined: 12 Sep 2012, 15:38
- Location: Chicago, USA
- FPL:
Re: Greasemonkey script to display team data on FPL league page
Number played seems to be working now. Wasn't 15 minutes ago.
- SuperGrover
- Grumpy Old Man
- Posts: 1540
- Joined: 12 Sep 2012, 15:38
- Location: Chicago, USA
- FPL:
Re: Greasemonkey script to display team data on FPL league page
But BAPs not being added so scores are off.
-
- FISOhead
- Posts: 981
- Joined: 27 Aug 2014, 22:13
- FPL:
Re: Greasemonkey script to display team data on FPL league page
There's something definitely up with the total "live score data.
My own team shows a correct live total but other teams are showing 40 or so points fewer on the live total, than the overnight total.
This is a great tool by the way. Please keep up the good work.
My own team shows a correct live total but other teams are showing 40 or so points fewer on the live total, than the overnight total.
This is a great tool by the way. Please keep up the good work.
-
- Cheetah
- Posts: 7
- Joined: 17 Sep 2017, 08:48
Re: Greasemonkey script to display team data on FPL league page
Well, he seems busy. It is open source, I guess you can share it here, of course, everybody knows it is his script after all. You can remove it if he says otherwise.
Thanks everyone for their contribution. Really great work though.
-
- Wideboy
- Posts: 61
- Joined: 21 Aug 2013, 23:37
- FPL:
Re: Greasemonkey script to display team data on FPL league page
its two weeks till next gw. im sure nick is working on it and will get it fixed before then.
-
- Cheetah
- Posts: 7
- Joined: 17 Sep 2017, 08:48
-
- Wideboy
- Posts: 61
- Joined: 21 Aug 2013, 23:37
- FPL:
-
- Newbie
- Posts: 2
- Joined: 07 Dec 2015, 08:46
Re: Greasemonkey script to display team data on FPL league page
Thank you!zomri wrote: ↑14 Oct 2017, 14:58 Here's my version for the community until nick updates the original.
https://pastebin.com/RBEkhUML
Though I notice the live points column isn't accurate, any idea why?
-
- Wideboy
- Posts: 61
- Joined: 21 Aug 2013, 23:37
- FPL:
Re: Greasemonkey script to display team data on FPL league page
adding live (provisional) bonus and autosubs points if they are available (ie sub coming in has played).
-
- Cheetah
- Posts: 7
- Joined: 17 Sep 2017, 08:48
Re: Greasemonkey script to display team data on FPL league page
Cheers! even the total transfers were wrong as well on that one. Let me try.zomri wrote: ↑14 Oct 2017, 14:58 Here's my version for the community until nick updates the original.
https://pastebin.com/RBEkhUML
-
- Wideboy
- Posts: 61
- Joined: 21 Aug 2013, 23:37
- FPL:
Re: Greasemonkey script to display team data on FPL league page
nice. send some feedback when you finish.hellrokr wrote: ↑16 Oct 2017, 09:09Cheers! even the total transfers were wrong as well on that one. Let me try.zomri wrote: ↑14 Oct 2017, 14:58 Here's my version for the community until nick updates the original.
https://pastebin.com/RBEkhUML
-
- Cheetah
- Posts: 7
- Joined: 17 Sep 2017, 08:48
Re: Greasemonkey script to display team data on FPL league page
The figures are still wrong.zomri wrote: ↑16 Oct 2017, 10:46nice. send some feedback when you finish.hellrokr wrote: ↑16 Oct 2017, 09:09Cheers! even the total transfers were wrong as well on that one. Let me try.zomri wrote: ↑14 Oct 2017, 14:58 Here's my version for the community until nick updates the original.
https://pastebin.com/RBEkhUML
Let's follow this guy:
https://fantasy.premierleague.com/a/team/247842/event/8
Transfer made last week:2
Transfer made this week:0
Squad value: 98.1
ITB:3.7
As per this script, let's follow one of his league: https://fantasy.premierleague.com/a/lea ... 39/classic
Transfer made last week:N/A
Transfer made this week:2. Should be 0, this column used to show how many transfers he is making for the upcoming GW.
Squad value: 101.7. Should be 98.1
ITB:3.7
Total: 105.4 which is, of course, wrong as well.
I do rely keep a check on GWT. If you get some time, I hope it's worth looking into it.
Thanks!
-
- Wideboy
- Posts: 61
- Joined: 21 Aug 2013, 23:37
- FPL:
Re: Greasemonkey script to display team data on FPL league page
this is what i get
https://i.imgur.com/1961i1Z.png
seem to me it's showing correct values. be sure to turn off nick's script before running this one.
ps. sometimes randomly you get some weird data in live or live total column. haven't yet tracked what causes this. when you see it just hit refresh few times until you get correct values. you can see this issue on 4th place in a screenshot i posted.
https://i.imgur.com/1961i1Z.png
seem to me it's showing correct values. be sure to turn off nick's script before running this one.
ps. sometimes randomly you get some weird data in live or live total column. haven't yet tracked what causes this. when you see it just hit refresh few times until you get correct values. you can see this issue on 4th place in a screenshot i posted.
-
- Cheetah
- Posts: 7
- Joined: 17 Sep 2017, 08:48
Re: Greasemonkey script to display team data on FPL league page
here's the script's result:
https://i.imgur.com/fkWI8or.png
https://fantasy.premierleague.com/a/lea ... 85/classic
The guy in contention is: Joel Fretwell at number 4.
here's what I'm comparing with:
https://i.imgur.com/UQA1i5b.png
https://fantasy.premierleague.com/a/team/108320/event/8
The transfers, squad value is all wrong here. Maybe someone else can confirm this?
I tried removing and adding the script back. I'm on chrome btw.
Thanks
https://i.imgur.com/fkWI8or.png
https://fantasy.premierleague.com/a/lea ... 85/classic
The guy in contention is: Joel Fretwell at number 4.
here's what I'm comparing with:
https://i.imgur.com/UQA1i5b.png
https://fantasy.premierleague.com/a/team/108320/event/8
The transfers, squad value is all wrong here. Maybe someone else can confirm this?
I tried removing and adding the script back. I'm on chrome btw.
Thanks
-
- Wideboy
- Posts: 61
- Joined: 21 Aug 2013, 23:37
- FPL:
Re: Greasemonkey script to display team data on FPL league page
Looks good on my end.
You should definitely have only one script loading. Make sure its the one you copied from pastebin.
https://i.imgur.com/S2n2koO.png
You should definitely have only one script loading. Make sure its the one you copied from pastebin.
https://i.imgur.com/S2n2koO.png
-
- Wideboy
- Posts: 61
- Joined: 21 Aug 2013, 23:37
- FPL:
Re: Greasemonkey script to display team data on FPL league page
Been looking into the bug with randomly chosen rows with inconsistent transfer totals, team value and live score. Narrowed it down but can't find nor solve the problem.
What happens is that for these random teams it somehow keeps entry handle data from previous row/team. When you refresh it happens for another teams.
Will look more into it over the coming days, but i admit i'm kinda stuck with this.
What happens is that for these random teams it somehow keeps entry handle data from previous row/team. When you refresh it happens for another teams.
Will look more into it over the coming days, but i admit i'm kinda stuck with this.
- andybarrell
- Dumbledore
- Posts: 8990
- Joined: 13 Oct 2005, 18:26
- Location: Southend-on-Sea
- FS Record: 2013 Licence to Kill Winner
2019 S15 R2 Championship Winner
2020 FISO H2H League 1 Winner
2020 5aSide Champions (Falcons) - FPL:
- Contact:
Re: Greasemonkey script to display team data on FPL league page
did anyone get this working using M/soft Edge?
-
- Wideboy
- Posts: 61
- Joined: 21 Aug 2013, 23:37
- FPL:
Re: Greasemonkey script to display team data on FPL league page
can confirm they have changed player api data again. script is not working as of today, wrong player names displayed, gameweek live score wrong etc.
-
- Wideboy
- Posts: 61
- Joined: 21 Aug 2013, 23:37
- FPL:
Re: Greasemonkey script to display team data on FPL league page
You can dload fixed script at this link https://pastebin.com/4dunbsq9
Still didn't fix page load inconsistencies but at least now you can see which rows have errors - the ones with captain names in bold.
Still didn't fix page load inconsistencies but at least now you can see which rows have errors - the ones with captain names in bold.
- math!
- Dumbledore
- Posts: 6819
- Joined: 01 Aug 2015, 03:30
- FS Record: Yes
- FPL:
Re: Greasemonkey script to display team data on FPL league page
Everyone has Van La Parra as their captain apparently, except for one guy who has Mbemba
- Tacalabala
- FISO Knight
- Posts: 19010
- Joined: 07 Sep 2008, 01:03
- FPL:
Re: Greasemonkey script to display team data on FPL league page
Is this dead in the water? If so, I'll unsticky.
- rootcoors
- FISOhead
- Posts: 650
- Joined: 13 Oct 2005, 18:33
- FS Record: 21997
- FPL:
Re: Greasemonkey script to display team data on FPL league page
Not seen this updated in a while, but I did find this one for Firefox - looks quite good.
https://addons.mozilla.org/en-GB/firefo ... src=search
https://addons.mozilla.org/en-GB/firefo ... src=search
- nickchild
- FISOhead
- Posts: 648
- Joined: 27 Jul 2006, 23:51
- FS Record: 180th Overall FPL and X-League Winner 2008/09
- FPL:
- Contact:
Re: Greasemonkey script to display team data on FPL league page
I may get round to updating this at some point early seaon. In a couple of 20+ team cash leagues so no doubt I'll need it again myself...! Good luck for the season all
- kidzio
- Wideboy
- Posts: 53
- Joined: 06 Sep 2015, 14:42
Re: Greasemonkey script to display team data on FPL league page
Looking forward to both the Web browser and app update. Thanks Nickchild! I always use them when they were bugs free then.
- sstaffsw
- Grumpy Old Man
- Posts: 1917
- Joined: 08 Dec 2011, 10:47
- Location: Wolverhampton
- FPL:
Re: Greasemonkey script to display team data on FPL league page
This is a brilliant tool when it's up and running. Thanks in advance NickChild.
- hungngo
- Kevin and Perry
- Posts: 28
- Joined: 14 Oct 2017, 10:06
- FPL:
Re: Greasemonkey script to display team data on FPL league page
Thank you and keep it up again NickChild, we are missing the feature now.
- nickchild
- FISOhead
- Posts: 648
- Joined: 27 Jul 2006, 23:51
- FS Record: 180th Overall FPL and X-League Winner 2008/09
- FPL:
- Contact:
Re: Greasemonkey script to display team data on FPL league page
Does anyone know the new API URL for team data? https://fantasy.premierleague.com/drf/e ... 98/event/1 doesn't work anymore... I will continue to dig around and see what I can find (duplicate post from FPL data collection thread, sent to make sure it's seen!)
- nickchild
- FISOhead
- Posts: 648
- Joined: 27 Jul 2006, 23:51
- FS Record: 180th Overall FPL and X-League Winner 2008/09
- FPL:
- Contact:
Re: Greasemonkey script to display team data on FPL league page
Information found thanks to thesilkworm.
I will try and work on the script before the weekend, but will have to test the live data once the gameweek starts.
Stand by....
I will try and work on the script before the weekend, but will have to test the live data once the gameweek starts.
Stand by....
View Latest: 1 Day View Your posts