This repository shows a basic code for web scraping web pages that contains tables and also an applied example in a sport webpage.
Disclaimer: Please read this reference to be informed about web scraping implications: https://www.termsfeed.com/blog/web-scraping-laws/