Open wael-sudo2 opened 1 year ago
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
You are not passing the correct captcha URL
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