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

Semi-fix issue #84 #89

Closed
wants to merge 4 commits into from
Closed

Semi-fix issue #84 #89

wants to merge 4 commits into from

Conversation

cristicretu
Copy link

Changed the user agent to be the same when searching for results, instead of a different UA for every result. This fixes captcha triggering right at the start, but running the program 2-3 times in a row will trigger it again. That's why it is a semi-fix, further analysis is required, but for now, this is a step to the right direction.

Also, I cleaned up the code and fixed some Anti-Pattern issues.

I am also trying to use Googlebot's UA, because sometimes it fixes the issue. For now, this should do it.

Thank you :)

@shobrook
Copy link
Owner

Thanks for this. Could you do me a favor and remove all the linting / anti-pattern fixes?

@cristicretu
Copy link
Author

Sure. I removed them in the last commit and I kept the UA fix. Sorry for that (:

@cristicretu cristicretu changed the title Code cleanup, anti-pattern fix and semi-fix issue #84 Semi-fix issue #84 Jan 26, 2021
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.

None yet

2 participants