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

TypeError: 'NoneType' object is not subscriptable #13

Open
wael-sudo2 opened this issue May 30, 2023 · 1 comment
Open

TypeError: 'NoneType' object is not subscriptable #13

wael-sudo2 opened this issue May 30, 2023 · 1 comment

Comments

@wael-sudo2
Copy link

from pypasser import reCaptchaV3
reCaptcha_response = reCaptchaV3('https://www.latamairlines.com/bff/air-offers/v2/offers/search?outOfferId=null&outFlightDate=null&cabinType=Economy&destination=SCL&inOfferId=null&inFlightDate=null&adult=1&origin=ARI&outFrom=2023-06-08&sort=PRICE%2Casc&child=0&redemption=false&inFrom=null&infant=0')
print(reCaptcha_response.recaptcha_response)

throws this error

token = cls.get_recaptcha_token(data['endpoint'],
TypeError: 'NoneType' object is not subscriptable

@EkriirkE
Copy link

You are not passing the correct captcha URL

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

No branches or pull requests

2 participants