I attempted this and I get error "No such file or directory found: 'MLS Team Game Stats.csv'" This line is supposed to pull all the data from a csv on fbref right? What does the encoding part do. Where did you come up with that number and the name for the csv? Wim
The MLS file will contain urls that I want to loop through for the MLS data on fbref. You would need ne to create this file so that allow the scrapper to pull in the information. The encoding portion allows for unique characters to be properly handled by the Python script so it doesn't fail out if it see's a non-standard character in a name.
I attempted this and I get error "No such file or directory found: 'MLS Team Game Stats.csv'" This line is supposed to pull all the data from a csv on fbref right? What does the encoding part do. Where did you come up with that number and the name for the csv?
Wim
The MLS file will contain urls that I want to loop through for the MLS data on fbref. You would need ne to create this file so that allow the scrapper to pull in the information. The encoding portion allows for unique characters to be properly handled by the Python script so it doesn't fail out if it see's a non-standard character in a name.
Pandas is nice for scraping HTML tables.
Yeah, I love using it. Goes so much faster now