r/reddevils • 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) data done! 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 barca will work but !goalbot paul scholes barca will not. When in doubt, use the comma.

3.7k Upvotes

2.9k comments sorted by

188

u/parton90 Football, bloody hell!! Dec 17 '17

!goalbot Evra, Bayern Munich

21

u/sunshinelov1n Berbatov Dec 18 '17

oh the happiest 30 seconds of my life

247

u/tafguedes98 Dec 17 '17

!goalbot Bebe, Wolves

63

u/McGrifty Büttner - 1 Gerrard - 0 Dec 17 '17

The real reason this bot exists

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

46

u/Zeneren Dec 17 '17

LOL How could i forget about the Nani Premier League, 10-11 Spurs goal? absolutely historic

→ More replies (5)
→ More replies (2)

19

u/MedievalSorcery Buttner 1 - 0 Gerrard Dec 17 '17

!goalbot Beckham, Deportivo La Coruña

11

u/berbakay Dec 17 '17

!goalbot djemba-djemba, Leeds United

8

u/[deleted] Dec 17 '17

!goalbot Welbeck, Real Madrid

12

u/McGrifty Büttner - 1 Gerrard - 0 Dec 17 '17

!goalbot Valencia, arsenal

36

u/MUFColin Scholes Dec 17 '17

if you're looking for the one in 14/15 at the emirates, it was an own goal

!goalbot og, arsenal

→ More replies (9)
→ More replies (1)

10

u/ShadyRedDevil Dec 17 '17

!goalbot Persie, Aston Villa

19

u/appys4189 Scholes Dec 17 '17

!goalbot Ronaldo, Porto

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

22

u/CoffeeBeanDriven Dec 17 '17

!goalbot Cantona, liverpool.

53

u/MUFColin Scholes Dec 17 '17

period at the end threw it off

6

u/pratnala Green and Gold! 🟢🟡 #GlazersOut #LUHG Dec 18 '17

!goalbot Cantona, Liverpool

→ More replies (2)

11

u/D1794 Viva Ronaldo Dec 17 '17

!goalbot Owen, Manchester City

31

u/MUFColin Scholes Dec 17 '17 edited Dec 17 '17

'Owen' was mixed in with Hargreaves, let me fix that

!goalbot owen, man city

edit: actually fixed now

→ More replies (1)
→ More replies (1)

3

u/jamesc90 Dec 17 '17

!goalbot Cristiano Ronaldo, Chelsea

3

u/DJMattyM Wan-Bissaka Dec 19 '17

!goalbot Solskjær, Bayern Munich

195

u/ShadyRedDevil Dec 17 '17

This is INCREDIBLE! Great work, u/MUFColin. Seriously, best thing ever.

→ More replies (1)

•

u/D1794 Viva Ronaldo Dec 17 '17

Stickied cause this is cool AF

39

u/TheJoshider10 Bruno Dec 17 '17

Yeah this is fucking insane. Great work OP. I can see this coming in handy for discussions and when users forget a certain goal.

23

u/MUFColin Scholes Dec 17 '17

Thanks! I'm glad to see it can keep up with all the comments

→ More replies (5)
→ More replies (4)

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/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.

4

u/goal_bot Bot McTominay Dec 17 '17

I can try to get something like this working in the future, but for now here you go

https://gfycat.com/OrneryLonelyCaribou

https://gfycat.com/UnfortunateSadGlobefish

https://gfycat.com/BlaringMixedAmericanindianhorse

https://gfycat.com/HideousImaginativeBlackfootedferret

https://gfycat.com/JaggedUnpleasantFlee

https://gfycat.com/SomeWeightyFeline

https://gfycat.com/BleakClosedBarnacle

https://gfycat.com/HarmfulFearfulAmericancreamdraft

https://gfycat.com/ShallowShockingDove

https://gfycat.com/DecentIncompleteBluemorphobutterfly

https://gfycat.com/FinePointedAmphibian

https://gfycat.com/SomberAridAntarcticgiantpetrel

https://gfycat.com/ThunderousFemaleAfricanfisheagle

https://gfycat.com/DeepKindheartedFlycatcher

https://gfycat.com/MinorForcefulBasil

https://gfycat.com/ScarceOpenAidi

https://gfycat.com/WateryMelodicCobra

https://gfycat.com/UniformTerribleHomalocephale

https://gfycat.com/HeavenlyScaredDaddylonglegs

https://gfycat.com/GloomySomberBantamrooster

https://gfycat.com/ParchedWarmheartedKrill

https://gfycat.com/ClosedCoolGazelle

https://gfycat.com/BlushingWavyCaimanlizard

https://gfycat.com/ExaltedAcrobaticBoutu

https://gfycat.com/UnripeDiligentDeermouse

https://gfycat.com/CautiousNervousIberianemeraldlizard

https://gfycat.com/IllfatedNegligibleHen

https://gfycat.com/MarriedChubbyGadwall

https://gfycat.com/RawHotBantamrooster

https://gfycat.com/PlushClumsyIberianmidwifetoad

https://gfycat.com/RigidDimpledAcornweevil

https://gfycat.com/FlamboyantCompassionateFlickertailsquirrel

https://gfycat.com/MadeupEminentBlacklab

https://gfycat.com/UnacceptableLegitimateFairybluebird

https://gfycat.com/CornyDentalHarrierhawk

https://gfycat.com/EnragedVainChinchilla

https://gfycat.com/UnevenTotalArgentinehornedfrog

https://gfycat.com/MintyWholeAndeancondor

https://gfycat.com/CluelessSillyAegeancat

https://gfycat.com/PinkSarcasticBaleenwhale

https://gfycat.com/WavyRemorsefulIrishwaterspaniel

https://gfycat.com/HauntingSpectacularBushbaby

https://gfycat.com/SomberDisgustingCottontail

https://gfycat.com/ShortOldfashionedHarpseal

https://gfycat.com/EthicalWhirlwindJuliabutterfly

https://gfycat.com/UntidyParallelChick

https://gfycat.com/FrigidDazzlingAsianwaterbuffalo

https://gfycat.com/PalatableCoarseGeese

https://gfycat.com/InfamousBrilliantGnu

https://gfycat.com/ReflectingScaredHylaeosaurus

https://gfycat.com/DescriptiveDamagedGoldenretriever

https://gfycat.com/CrazyKindheartedGar

https://gfycat.com/LinedPolishedBelugawhale

https://gfycat.com/CalculatingVagueBarnowl

https://gfycat.com/SarcasticLastingFulmar

https://gfycat.com/LinearShowyKodiakbear

https://gfycat.com/GorgeousMixedLcont

https://gfycat.com/SardonicDistantBasil

https://gfycat.com/TemptingDistortedGreatwhiteshark

https://gfycat.com/AllAfraidFinch

https://gfycat.com/BaggyAmusingAiredale

https://gfycat.com/YawningCoarseJackrabbit

https://gfycat.com/ShimmeringSimilarHalicore

https://gfycat.com/FrayedFarKitten

https://gfycat.com/ThirstyMintyGrayfox

→ More replies (1)

1

u/george_regann pogba = scholes Dec 17 '17

!goalbot Van Persie, Manchester City

1

u/LocoRocoo sir harry maguire Dec 17 '17

!goalbot obertan, bursaspor

1

u/MNKPlayer is ace Dec 17 '17

!goalbot Giggs, Arsenal

→ More replies (1)