kmadisa / mind-your-stonks

When making a bad investment, the least one can do is keep track of it.
BSD 2-Clause "Simplified" License
5 stars 2 forks source link

Support multiple pages on the betting history page #10

Closed kmadisa closed 4 years ago

kmadisa commented 5 years ago

At the moment we only scraping data on the first page only because we do not place a lot of bets and most of them are resolved when the script runs overnight.

Moving forward we would like to run multiple cron jobs during the day and depending on the user's activity that might result in the list of Unsettled bets populating more than one page on the betting history. Therefore we will need to be able to switch between different pages.

Screenshot from 2019-07-25 11-23-25 Figure 1. A snapshot of the Betting History page showing links to multiple pages.