Open OliPelz opened 8 years ago
Even i had the same problem. Try updating duckduckgo module use this in the terminal
pip install duckduckgo2 This solved the error form me
@OliPelz , does @jkthaha 's answer solve your problem? If so, please close this issue.
Dear mikejs,
I have the following problem, if I want to use the
get_zci()
method I get a randommessage and afterwards I cannot use the library again because if the error shows up once, it ever shows up again (meaning even if I quit out of python interpreter and start a new session - the error persists). I found out that if I use the
query
method in between I can somehow reset this behaviour and then it works again. Here is the problematic code (I am not behind a proxy or firewall)r-packages-debs.txt
problematic script
not_working.py
after running the screen and provoking the error for the first time, the error shows up every time you request something ever again until you use the query() method. This somehow "magically" resets the problem
introducing query() method avoids the problem completely
working.py
so somehow duckduckgo seems to save some information about former requests from the IP when using the get_zci() method or something is saved temporarily on the HDD somewhere.