qwant-api
qwant-api copied to clipboard
This doesn't work anymore
Hi,
To begin with, thank you very much for this work.
I found out recently that this lib doesn't work anymore, Qwant always returns empty result sets... and set status to success !
After some research, I found out that it basically needs some extra params in the URL. To be honest, I'm not sure about everything, but it does work as expected and it might be a little bit hacky:
tvariable which is basically a copy of the query (I think it'stfor translation, but not sure)fvariable which is due to be set (seems like it's a boolean but I don't know what it is)- and
uivvariable which had to be set to4
I'll be sending a PR following this issue.
Thank you very much! I will definitely look into that.
So far I found some clues here and here.
t contains the actual keywords and
f appears to be some sort of query type.
Another major problem with the API appears to be its rate limits. As of now, they are very strict and once reached, they require a captcha. There are some inconsistencies with the error codes as well. The rate limit appears to be somewhere at double-digit level. Some users got the Error Code 24 but I received an email once with a user saying he got error code 9.
Anyway, thank you for your help! Merging now
Ill actually keep this open for now
Thank you for your quick response, it's truly appreciated, hopefully we will find some solutions for the rate limit problem.
How to render the captcha (to a display) in order to pass the error 24?
How to render the captcha (to a display) in order to pass the error 24?
I would also like to know how to do this.