When the scraper gets to the end of the data and attempts to load a Finviz page that is higher than what Finviz actually has, Finviz returns a page with just the last row. The scraper recognizes when it presented with a single row page, records it, and stops there. I didn't want to make the scraper not record this single row page because it's possible the last page actually does only have one row and recording one duplicate doesn't matter much. I think I can also fix it.
When the scraper gets to the end of the data and attempts to load a Finviz page that is higher than what Finviz actually has, Finviz returns a page with just the last row. The scraper recognizes when it presented with a single row page, records it, and stops there. I didn't want to make the scraper not record this single row page because it's possible the last page actually does only have one row and recording one duplicate doesn't matter much. I think I can also fix it.