I have flask python API that do the job I can write the JavaScript code in your app that connect your php app with my API and scrape the data also it will store the result in same MySQL database with python after scrape, the API ready but it has some limits while scrape not to much files per same key word also options to scrape fast, I sold this API before and it work 100%. thank you