-1

Let's say I wanted to fetch some data from say...http://fangraphs.com. I want to fetch a random player's home run total for this year. Is there a way to do this in Python, or should I use a different language for this task?

1 Answer 1

0

That's called web scraping. Python is as good as any other language for scraping, if not better.

For the actual parsing, try BeautifulSoup, as it can parse malformed HTML and has simple-to-understand functions for extracting things.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.