I have done things similar to that many times, one example, someone has a website and wanted to export the scraped data in an excel file. It was about getting the specific numbers from another website and I have done it in just 15 lines of code.
But it depends on your situation and the case