Open longnd opened 9 months ago
Thank you for your feedback, but I want to clarify about these issues:
Once again, thank you for your feedback, and I value your perspective. I always open to further discussion to ensure the best possible outcome, it's my pleasure to receive your feedback.
Issue
There are some limitation in the architecture for the core business logic (scrapping process)
it has some drawbacks
crawlKeywordResult()
function crash when processing one of the keyword, the remaining ones will not be processeCrawlKeywordResults()
itself block the application from showing the uploaded keywords to the users as it must wait for the scrapping process to be completed. If the user upload a long list of CSV file (e.g. 150 keywords), it is potentially that the timeout for the request will occurs-> another better solution could be
Also, the decision to use Chromedp to manupulate the search isn't effective as launching the chrome browser is slow & resource-intensive. -> A simpler solution could be using a HTTP client to send the search request directly, and then parsing the response. A simple CURL command could demonstrate the idea