I am trying to get the top 5 movies’ name and worldwide gross form the past five years including this year in the following website 2023 Worldwide Box Office - Box Office Mojo
I was able to get only the first movie name and its gross, however I failed to implement a do while loop to get the next four movies form the same year. The below images show what I tried so far. Your help would be much appreciated!
Hi @Ryu31, you can do Data Scraping from that screen, which extracts the table data into a DataTable and from there, you can iterate through top 5 rows and exit from row 6 if you want.