I created a new repository and migrated all the features from ddg-cli to it. Next, I removed unnecessary parameters from the scraping function and modified it to accept a struct. I also added API server functionality to make it easier for other programs to access.