for i in range(10):
print("Date: ", date_list[i])
print("Title: ", title_list[i])
# print("Description: ", description_list[i])
print()
This is the news scraper of business recorder and the problem is that as I have given range 10 but in the website, few pages have different size of news in the pages such as 10, 20, 4, 15, 2 news in a page.
How can I make a code that can scrape all the news that are in a certain page?