Data scraping if not working for web page table

Yes, I am giving just one scenario or solution here, but I just looking for is there any best solution you can suggest in this scenario, if it would be an interview question, what would be our approach then.