erilu / web-scraping-NBA-statistics

Use Python to scrape ESPN for stats on all players in the NBA. Obtain and organize data, calculate statistics, and model using urllib, re, pandas, and scikit-learn.
https://erilu.github.io/web-scraping-NBA-statistics/
16 stars 9 forks source link

ESPN has updated site so you cannot extract player ids the same way #3

Open paigeharvey opened 1 year ago

paigeharvey commented 1 year ago

You now need to update how the player id is extracted

jmkane12 commented 1 year ago

Is the fixed version anywhere?

paigeharvey commented 1 year ago

I just revised the webscrappimg script. I went to the nba site, analyzed the new format and created a new way to obtain the playerIds which is what is needed for the image urls.

jmkane12 commented 1 year ago

Any chance you could send your finished code? Maybe through this email or something.

On Sat, May 6, 2023 at 10:34 AM paigeharvey @.***> wrote:

I just revised the webscrappimg script. I went to the nba site, analyzed the new format and created a new way to obtain the playerIds which is what is needed for the image urls.

— Reply to this email directly, view it on GitHub https://github.com/erilu/web-scraping-NBA-statistics/issues/3#issuecomment-1537154943, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7URVXTYCJTAKP3HEGKMUQ3XEZOQTANCNFSM6AAAAAAXOHBTRU . You are receiving this because you commented.Message ID: @.***>

jmkane12 commented 1 year ago

Can you send it? It would be very appreciated.

paigeharvey commented 1 year ago

Sure. Drop your email.

jmkane12 commented 1 year ago

joshuakane12@gmail.com, any chance you could send it relatively soon, I am on a bit of a time crunch. Thanks if you can

hwanghar commented 2 months ago

Sure. Drop your email. can you also send it to me? Thanks! kodie96kodie@gmail.com Thanks!