r/reddevils • u/goal_bot Bot McTominay • Dec 17 '17
Star Post I wrote a reddit bot that can show you any United goal from 1995-2015
(Now featuring every season from 1987-88 to 2015-16 2016-2017 current)
TL;DR: Type
!goalbot player name, opponent name
in this sub to see a gif of that player's goals against that opponent from 1995/96 to 2014/15.
I compiled a bunch of United goal/player/match data and wrote a reddit bot (using Python) to show any United goal from the 1995/96 to 2014/15 seasons via a Gfycat link.
All credit for the gifs goes to RedCafe user Mrs Smoker, who goes into more detail of their work in this forum post.
All the match data was scraped from 11v11.com, a list of every player was scraped from worldfootball.net, and every Gfycat url was scraped via each album found here. Linking every player to every goal and every goal/opponent to every match was done mostly in sqlite on my own. The biggest hole in the data right now is 27 missing goals from the 00-01 season, in which I realized a mistake I made as I write this and hope to get it fixed by today.
To use the bot, simply type:
!goalbot player name, opponent name
in any comment on this sub (followed by either a line break or the end of the comment itself) and the bot will search for and reply with every goal that player has scored against that specific team. Player name can be a unique firstname/lastname/some nicknames/full name i.e
dimitar/berbatov/berba/dimitar berbatov
and team names can be any reasonable variation of their name with acronyms in all caps i.e.
Wolverhampton Wanderers/WWFC/Wolves/Wolverhampton
separated by a comma. I plan to make the player/team data spreadsheets public so you can see specifically what is valid/not for each team/player, as well as contribute other nicknames if I've missed any.
Planned updates include:
Getting older (pre-1995) and more recent (15/16-present) datadone! almost- The ability to search by just player, season, competition, etc.
- Improving and eventually putting the code on Github
- Getting better hosting than what's used currently
If you have any questions/bugs/feedback, please do not hesitate to contact me in this thread, here, or in the /r/goalbot sub.
ongoing changelog:
15-16 season now live! Some angles may be broken, so please post here if you find any mistakes.
Seasons 1988-89 through 1994-95 are now live! Only one season left (excluding current), but I have yet to find a good source for last season's goals.
Last season (2016-17) now live
'!goalbot random' now works so all those not-so-popular goals don't get left out
Now if a comment doesn't have the comma between player name/opponent/competition, it will assume the first word is the player name and everything after is the opponent name i.e
!goalbot scholes barcawill work but!goalbot paul scholes barcawill not. When in doubt, use the comma.
188
u/parton90 Football, bloody hell!! Dec 17 '17
!goalbot Evra, Bayern Munich
247
u/tafguedes98 Dec 17 '17
!goalbot Bebe, Wolves
67
u/tafguedes98 Dec 17 '17
!goalbot Forlan, Liverpool
61
u/D1794 Viva Ronaldo Dec 17 '17
!goalbot Chicharito, Chelsea
59
u/WangWang1 Dec 17 '17
!goalbot Park, Arsenal
79
u/MUFColin Scholes Dec 17 '17
!goalbot Scholes, barca
edit: cool it works
39
u/Pedantic_Pat Mason the Role Model Dec 17 '17
!goalbot Ronaldo, Portsmouth
35
u/Ferragutz United m8 Dec 17 '17
!goalbot Nani, Tottenham Hotspur
This is amazing
114
u/mgoblue5472 Jose Mourinho Dec 17 '17
!goalbot Van Persie, Arsenal
27
u/abhigyanb Viva Garnacho Dec 17 '17
!goalbot Sheringham, Bayern
44
u/wrdb2007 Dec 17 '17
!goalbot Solskjaer, Bayern Munich
19
u/MedievalSorcery Buttner 1 - 0 Gerrard Dec 17 '17
!goalbot Beckham, Deportivo La Coruña
17
u/[deleted] Dec 17 '17
!goalbot Chadwick, Leeds
12
u/MUFColin Scholes Dec 18 '17
!goalbot the little pea, chels
11
u/berbakay Dec 17 '17
!goalbot djemba-djemba, Leeds United
9
u/[deleted] Dec 17 '17
!goalbot Rooney, AC Milan
9
u/LawzE23 Beckham Dec 17 '17
!goalbot Van Nistelrooy, Fulham
17
u/SupaaFast Bruno Dec 17 '17
!goalbot Di Maria, Leicester City
8
u/[deleted] Dec 17 '17
!goalbot nani, chelsea
8
u/[deleted] Dec 17 '17
!goalbot Welbeck, Real Madrid
12
u/McGrifty Büttner - 1 Gerrard - 0 Dec 17 '17
!goalbot Valencia, arsenal
10
u/ShadyRedDevil Dec 17 '17
!goalbot Persie, Aston Villa
19
u/appys4189 Scholes Dec 17 '17
!goalbot Ronaldo, Porto
5
u/[deleted] Dec 17 '17
!goalbot Rooney, Liverpool
5
u/appys4189 Scholes Dec 17 '17
!goalbot Rafael, QPR
5
u/hawkinsno2 Dec 18 '17
!goalbot John O'Shea, Arsenal
8
u/KekUnited factos Dec 18 '17
There's no way you'll get this
4
u/HelloTosh Dec 17 '17
!goalbot Rio Ferdinand, Swansea
4
u/Mantlewithaplomb Dec 17 '17
!goalbot og, Liverpool
22
u/CoffeeBeanDriven Dec 17 '17
!goalbot Cantona, liverpool.
11
u/D1794 Viva Ronaldo Dec 17 '17
!goalbot Owen, Manchester City
3
u/thehypre Dec 17 '17
!goalbot Rooney, Liverpool
3
u/shy247er Beckham Dec 17 '17
!goalbot Beckham, Barcelona
3
u/popcornelephant Martial Dec 17 '17
!goalbot Ronaldo, Sporting Lisbon
3
u/jamesc90 Dec 17 '17
!goalbot Cristiano Ronaldo, Chelsea
3
u/flyingkiwi9 Solskjær Dec 17 '17
!goalbot Ronaldo, Portsmouth
3
u/Starkte Solskjær Dec 18 '17
!goalbot Solskjær, Nottingham
3
u/DJMattyM Wan-Bissaka Dec 19 '17
!goalbot Solskjær, Bayern Munich
2
u/GCGMP Pogba Dec 17 '17
!goalbot Nani, Arsenal
2
u/mikes_g1 Dec 17 '17
!goalbot Nani, spurs
2
u/TheRedDevil10 Dec 17 '17
!goalbot Mata, Manchester City
2
u/TheRedDevil10 Dec 17 '17
!goalbot Rooney, Arsenal
2
u/MedievalSorcery Buttner 1 - 0 Gerrard Dec 17 '17
!goalbot Cantona, Sunderland
2
u/csmumaw Jones Dec 17 '17
!goalbot Macheda, Aston Villa
2
u/MUFColin Scholes Dec 18 '17
!goalbot beckham, west ham
2
u/Blowthis Dec 18 '17
!goalbot solskjaer, bayern munich
2
u/BossCrackNi88aFresh Jan 10 '18
!goalbot Rooney, Liverpool
2
u/Bigthunder13 Jan 14 '18
!goalbot snake, Leicester
195
u/ShadyRedDevil Dec 17 '17
This is INCREDIBLE! Great work, u/MUFColin. Seriously, best thing ever.
•
u/D1794 Viva Ronaldo Dec 17 '17
Stickied cause this is cool AF
116
u/goodguy1994 it's Rooneyyy, it's inevitable. some things are meant to be Dec 17 '17 edited Dec 18 '17
!goalbot Bebe, Barcelona
Edit: shit bot mate, doesn’t work.
21
u/MadaraTheUchiha https://www.howmanypremierleaguemedalshasstevengerrardwon.com/ Dec 17 '17
I love you for this, best bot ever!
30
u/k23epl Dec 18 '17
Not even a ManU fan but came here to say this is fucking amazing! Great work OP!!
26
u/[deleted] Dec 17 '17
This post deserves a triple gilding. I wish I weren't broke.
8
u/Zezano Dec 18 '17 edited Dec 18 '17
!goalbot Macheda, Aston Villa
5
u/Ferragutz United m8 Dec 17 '17
I might be here all day. Thank you /u/MUFColin !
8
u/El_Giganto Dec 17 '17
Haha wow, I feel like crossposting this to /r/soccer just to show as many people as possible that you did something this cool.
1
u/siddhantg2509 Dec 17 '17
!goalbot Ronaldo, Portsmouth
1
u/CoffeeBeanDriven Dec 17 '17
!goalbot Cantona, liverpool
1
u/MedievalSorcery Buttner 1 - 0 Gerrard Dec 17 '17
!goalbot Scholes, Middlesbrough
1
u/r0ss86 Dec 17 '17
!goalbot Chadwick, Leeds
1
u/wrdb2007 Dec 17 '17
!goalbot Owen, Manchester City
1
u/hoochiscrazy_ Rooney Dec 17 '17
!goalbot giggs, chelsea
1
u/TheZilloBeast Dec 17 '17
!goalbot Ronaldo, Arsenal
1
u/turbo1986 Dec 17 '17
!goalbot Beckham, Wimbledon
1
u/popcornelephant Martial Dec 17 '17
!goalbot Owen, Leeds
1
u/WhovianMoak Craig Norwood Dec 17 '17
!goalbot All, Liverpool
Figured I'd give it a shot.
E: How is this only 99% upvoted? This may be the best post in the history of thi sub.
1
u/cptainvimes De Gea Dec 17 '17
!goalbot Rooney, Milan
1
u/george_regann pogba = scholes Dec 17 '17
!goalbot Van Persie, Manchester City
1
u/LocoRocoo sir harry maguire Dec 17 '17
!goalbot chicharito, chelsea
1
u/Poison3k Give it to Giggsy Dec 17 '17
!goalbot Giggs, Arsenal
1
u/LocoRocoo sir harry maguire Dec 17 '17
!goalbot obertan, bursaspor
1
u/MinistryOfSpeling Dec 17 '17
!goalbot Scholes, scousers
1
u/ColourCrisis The Boss Dec 17 '17
!goalbot Mata, Liverpool
1
u/tz_2240 OHHHHHH YESSSSS Dec 17 '17
!goalbot Berba, Liverpool
1
u/cydonoodle Dec 17 '17
!goalbot valencia, wolves
1
u/tz_2240 OHHHHHH YESSSSS Dec 17 '17
!goalbot rvp, Aston villa
1
u/nahris99 Dec 17 '17
!goalbot Ronaldo, Arsenal
1
u/sauceiskey Dec 17 '17
!goalbot Scholes, Liverpool
1
u/LegalizeWater Dec 17 '17
!goalbot Young, Arsenal
1
u/[deleted] Dec 17 '17
!goalbot Cristiano Ronaldo, West Ham United
1
u/mrpurplecat Dec 17 '17
!goalbot Scholes, Chelsea
1
u/Dray11 Dec 17 '17
!goalbot Nani, Arsenal
1
u/Tomahawk5646 Dec 17 '17
!goalbot Ronaldo, Arsenal
1
u/HazardCinema Wazza Dec 17 '17
!goalbot Rooney, Newcastle
1
u/augustoaag Dec 17 '17
!goalbot Beckham, Spurs
1
u/tallmotherfucker Yes x Dec 17 '17
!goalbot Saha, Chelsea
1
u/pogbahimovic Dec 17 '17
!goalbot Ronaldo, Porto
1
u/MNKPlayer is ace Dec 17 '17
!goalbot Giggs, Arsenal