-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
LensError: Could not parse response: TypeError: Cannot read properties of null (reading '0') #11
Comments
In order for me to debug this, you need to provide full |
error_log.txt |
I couldn't reproduce your error with provided body. Make sure you're using latest version of the library |
i already did , also a small question . what about rate limit . is there a way to add proxy support ? |
Proxies are already supported, check readme |
|
Same for me. I think it's because of CAPTCHa or VPN |
Did you find any solution? |
This happens inconsistently to me. Here's the body: https://osmarks.net/stuff/ocr_goog.txt |
Yes I think I did. |
I tried running the script on your body and couldn't reproduce the issue. |
I uploaded my script, you can give it a try if you want |
@Arikips I only see the solution in python, any idea about how to fix it in javascript? |
You need to provide body of errored request for any fixes to be done. I checked their code and it does exact same thing as this library except it should be even more error prone because it doesn't account for second data structure |
I was also checking and I noticed it does the same. |
I dont know specific parameters, try using same ones as used in code |
Sometimes when you i do requests . it doesnt retun the JSON object but instead it returns and error and some html body ,
it works like 3-4 times and then the issue appears , its like a russian roullete , sometimes i get it 3 times in a row and sometimes i dont get it in like 200 tries ( using the same picture over and over again )
The text was updated successfully, but these errors were encountered: