parth1902 / Scrape-FBref-data

To scrape data from fbref.com provided by StatsBomb
120 stars 46 forks source link

Text attribute error #2

Closed adinesia closed 2 years ago

adinesia commented 3 years ago

Hi, I got this error massage when scrapping Brazilian and Argentina stats: AttributeError: 'NoneType' object has no attribute 'text' Could you please help. Thanks

matze298 commented 3 years ago

The error occurs because the scraper tries to find values that don't exist for the Brazilian & Argentinian leagues. From the Readme: "The scraper won't work for those leagues which have other columns compared to the top 5 leagues."

MartinHolthe commented 3 years ago

Hi, I actually got the same issue as stated above - for all the top 5 leagues: AttributeError: 'NoneType' object has no attribute 'text'. The code has been working perfectly for some months, but it suddenly stopped working as of today... Would appreciate some help. Thanks

MartinHolthe commented 3 years ago

The solution can be located here: https://stackoverflow.com/questions/66517625/attributeerror-nonetype-object-has-no-attribute-text-beautifulshop

Lilvim commented 3 years ago

The solution is not working I tried what they said and it doesn't work. It's exactly the same problem than before Can I get a hint ?

parth1902 commented 2 years ago

Removed the problem! Added a link to a colab notebook as well, please refer to it if needed.