Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tajul/improve google searcher #15

Merged

Conversation

tajul-saajan
Copy link
Owner

resolved #11

enclosed the calculations of different variables in functions inside the page.evaluate
used tags, ids as constants

@tajul-saajan tajul-saajan changed the base branch from main to tajul/keyword-async-processing December 1, 2023 05:58
…an/google-searcher into tajul/consolidate-ui-layouts
Copy link

@olivierobert olivierobert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The implementation is an improvement. Still, this could be improved further by splitting the fetching logic from the parsing one. Axios and Cheerio could be passed as dependencies via Dependency Injection (DI) making the swap to different fetcher and parser possible.

@tajul-saajan tajul-saajan merged commit 2264818 into tajul/keyword-async-processing Dec 11, 2023
@tajul-saajan tajul-saajan deleted the tajul/improve-google-searcher branch December 11, 2023 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Chore] Improve structure of GoogleSearcher
2 participants