Uses selenium web driver to scrap bet365 account history and downloads all bets into a json file.
Currently using a saved HTML file, as it is against bet365 T&C the "use of automated systems or software to copy and/or extract the whole or any part of, the Website, the information or data on the Website".
May adapt at your own risk to scrap directly from the website.