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

Fix recaptcha middleware behaviour if PUPPETEER_INCLUDE_META=False #24

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

mxsnq
Copy link
Member

@mxsnq mxsnq commented Jan 19, 2024

If PUPPETEER_INCLUDE_META=False (default), recaptcha middleware will miss _captcha_solving meta key on generated request and return it to spider.
Also ensure that requests originating from recaptcha middleware bear original callback/errback (just in case)

Type of change

  • Bug fix (non-breaking change which fixes an issue)

@mxsnq mxsnq requested a review from Yatskov January 19, 2024 13:25
@mxsnq mxsnq changed the title Add callback/errback to requests from recaptcha mware Fix recaptcha middleware behaviour if PUPPETEER_INCLUDE_META=False Jan 19, 2024
@Yatskov Yatskov merged commit f46516b into master Jan 19, 2024
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.

2 participants