Skip to content

DEFEAT RECAPTCHA - #26

Closed
joeyagreco wants to merge 1 commit into
SeanDaBlack:mainfrom
joeyagreco:joeyg/bypassCaptcha
Closed

DEFEAT RECAPTCHA#26
joeyagreco wants to merge 1 commit into
SeanDaBlack:mainfrom
joeyagreco:joeyg/bypassCaptcha

Conversation

@joeyagreco

@joeyagreco joeyagreco commented Dec 11, 2021

Copy link
Copy Markdown
Contributor

Comment thread main.py
time.sleep(1.5)
driver.find_element_by_xpath(ACCEPT_BUTTON).click()
time.sleep(2)
googleClass = driver.find_elements_by_class_name(CAPTCHA_BOX)[0]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm almost wondering if a different function should be implemented for handling captchas outside of generate_account. Maybe the same code in a handle_captcha function with param driver? It's nitpicky, and the PR should still be accepted if the change isn't implemented, but I think readability could improve a bit.

@pws1453 pws1453 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Besides the note in main.py about creating a separate function for captcha handling, code runs great. Your code readability and quality is excellent. As a university student, I've been taking notes about it. @SeanDaBlack, please merge into main whenever possible.

Comment thread main.py


def main():
while True:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If desired, the multiprocessing implementation from #21 could be placed here.

@jmrushing jmrushing left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I tested your additions on my fork, works great.
I do agree with other suggestions and PRs that we need multi-threading, a resume pdf generator, more code cleanup (what's been done looks great so far though), also need targeted phone number generation (these wacky area codes and extensions are easily filtered out), BUT these are all general gripes and not your fault - this PR should be accepted IMO 😁

@jmrushing jmrushing mentioned this pull request Dec 12, 2021
@SeanDaBlack

Copy link
Copy Markdown
Owner

This does the same as #28

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.

4 participants