No video

How to Scrape SofaScore for Free Football Data (Updated Method)

  Рет қаралды 5,853

McKay Johns

McKay Johns

Күн бұрын

The complete football analytics in Python course:
mckay-s-site.t...
GitHub:
github.com/mck...
Chromedriver download: chromedriver.c...

Пікірлер: 40
@danielgranjaconejeros6355
@danielgranjaconejeros6355 3 ай бұрын
Thought the randomized data was me getting a kind of shadow ban. It messed up my database and it taught me to add timestamps to records haha Thanks a lot for this, McKay! Always the goat.
@markomarjanovic8348
@markomarjanovic8348 2 ай бұрын
Dude, you made this so easy, practical and explained everything so simply and effortlessly, you are amazing!
@brunoqueiroz8470
@brunoqueiroz8470 3 ай бұрын
YESSSS. Thanks you absolute legend
@yold_
@yold_ 5 күн бұрын
Great video once again! How could I scrape the football field and the top-down view of the goal in SVG or PNG format to use them as a background in Power BI visuals (to maintain the scales)?
@arpitc022
@arpitc022 Ай бұрын
Great video. I got stuck on creating the shots map on a pitch after extracting the data. Can you create a video on that as well?
@Chris_0303
@Chris_0303 3 ай бұрын
thanks for the update mate!
@ahmedshehta6460
@ahmedshehta6460 2 ай бұрын
very beautiful content keep going
@McKayJohns
@McKayJohns 2 ай бұрын
Thank you 🤝
@Unforgettables3
@Unforgettables3 Ай бұрын
Thanks a lot. i am also more research about this. Your tutorial is golden egg for me . And How can we scrap data matches and their standings and last 6 game results which is Home playing at home, away playing at away. Is it possible scrap same time?
@simonechiodi5600
@simonechiodi5600 2 ай бұрын
thanks for the update! Is possible scrape Player's average positions?
@McKayJohns
@McKayJohns Ай бұрын
I will look into it it should be the same method
@ManuBindranamami
@ManuBindranamami Ай бұрын
Hey John, Thanks for the updated code and teaching through this However bumping into the error message for Message: invalid argument: log type 'performance' not found. any work around on that?
@OoozeYoDaddy
@OoozeYoDaddy 3 ай бұрын
It would be great to see how you'd go about storing data that's been scraped into a database.
@McKayJohns
@McKayJohns 3 ай бұрын
I actually made a workshop that explains all of that :) mckay-s-site.thinkific.com/ If you use code "youtube" you can get 25% off
@bakhodiryakubov3981
@bakhodiryakubov3981 Ай бұрын
hey McKay, do you happen to have mimicked how to recreate post match player rating like sofascore, whoscored, etc.? I'm trying to understand their algorithms and recreate one for fun.
@McKayJohns
@McKayJohns Ай бұрын
Sounds fun! Usually a lot of them are just algorithms where they've given a weight to a bunch of parameters and then use that to calculate a score Each one is different i'd probably recommend seeing if ChatGPT as any extra info
@bakhodiryakubov3981
@bakhodiryakubov3981 Ай бұрын
@@McKayJohns yeah it’s a cool project. GPT and google search didn’t help, trying to see how much weigjt each param gets and what metrics they use.
@sailithish4579
@sailithish4579 7 күн бұрын
hey bro is it possible to do this for previous year data like for a prior season in the statistic column using the satistics of a player bcoz it has a different api call to it
@Doloufoks
@Doloufoks 3 ай бұрын
Thanks !! 🙏
@filipereis1655
@filipereis1655 2 ай бұрын
Hey guys, is this method still working? It seems i'm getting blocked on json loads :(
@McKayJohns
@McKayJohns 2 ай бұрын
It should work what error are you getting?
@mertroboomin6337
@mertroboomin6337 Ай бұрын
@@McKayJohns i doesn't work on me as well, it doesn't find "shotmap" on logs
@mertroboomin6337
@mertroboomin6337 Ай бұрын
@@McKayJohns it didn't work for me either, it can't find "shotmap" log
@davidshelley8836
@davidshelley8836 Ай бұрын
@@mertroboomin6337 It worked for me, try: driver.maximize_window() driver.execute_script("window.scrollTo(0, document.body.scrollHeight);") Sometimes the shot maps don't show because the window is too small so this makes sure the window is maximized to include it.
@guenadigalvez6685
@guenadigalvez6685 10 күн бұрын
i think its not working "{'method': 'Page.frameStartedLoading', 'params': {'frameId': '64869C38659044157F3AEE212BAC4398'}}"
@sahilshrivastava4208
@sahilshrivastava4208 2 ай бұрын
Hey I am not able to scrape the goal scorers for any particular league or tournament from sofascore .Can you make a video on scarping it or some codes for help. :)
@mertroboomin6337
@mertroboomin6337 Ай бұрын
it can't find "shotmap" log
@entretacticas8189
@entretacticas8189 Ай бұрын
Hello, do you know if your course can be translated into Spanish? Is it content that is updated? I am interested in knowing how to create these pass networks in Python Do you have any certificate?. greetings!
@McKayJohns
@McKayJohns Ай бұрын
Currently it's not in spanish but I'm going to see if I can get captions added to the course. I've updated it a couple of times and will continue to update it with new information as it comes along and as I have time to create it I'll show how to do pass networks as well and unfortunately there's no certificate
@entretacticas8189
@entretacticas8189 Ай бұрын
@@McKayJohns Ok thanks, my biggest concern is more than anything because I can translate the course into Spanish. I guess if not some website could help me, I'll probably buy it. Thanks!
@Krisler12
@Krisler12 2 ай бұрын
Can you do it on whoscored too? Thank you in advance!
@carlosgil3284
@carlosgil3284 17 күн бұрын
is it possible that the ip will be banned if you try to make too many requests? thank you very much.
@McKayJohns
@McKayJohns 17 күн бұрын
Being banned is unlikely, you could be temporarily blocked but i find it rare that it happens
@wesleys_Theory35
@wesleys_Theory35 2 ай бұрын
Any resource to learn these. Selenium docs don't seem too helpful
@McKayJohns
@McKayJohns Ай бұрын
Ya they are bad lol honestly I would just use ChatGPT at this point to answer any questions and help code with it
@wesleys_Theory35
@wesleys_Theory35 Ай бұрын
@@McKayJohns Thank you
The Super Easy Way to Scrape FBREF for Free Soccer Data
11:22
McKay Johns
Рет қаралды 7 М.
How to Scrape TransferMarkt.com for Football Data in Python
30:00
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 7 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 35 МЛН
ОБЯЗАТЕЛЬНО СОВЕРШАЙТЕ ДОБРО!❤❤❤
00:45
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
Cool Tool SHORTS Netherlands
Рет қаралды 7 МЛН
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 184 М.
How i would learn sports analytics in 2024 (if i could start over)
10:06
The Biggest Issues I've Faced Web Scraping (and how to fix them)
15:03
Technical and Tactical Football Analysis Through Data
39:35
Databricks
Рет қаралды 20 М.
How to Easily Transform Your Tables in Python
39:19
McKay Johns
Рет қаралды 7 М.
The New Era in Football Statistics
12:42
Football Meta
Рет қаралды 227 М.
Top 5 Best Websites for Football Stats & Data
10:43
Trademate Sports
Рет қаралды 138 М.
`const` was a mistake
31:50
Theo - t3․gg
Рет қаралды 133 М.
How to Scrape SofaScore for Football Data
14:51
McKay Johns
Рет қаралды 30 М.
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 7 МЛН