pythongoogle-search

How do I disable safe search in Python googlesearch library?


I'm trying to use Python googlesearch library. It works very well, though it seems like the search() function of this library has some filters that prevent it from searching for certain things (18+ for example) which limits its functionality.

So, is there a way I can disable these filters/safe search? And if yes, how?


Solution

  • Did you try:

    search("Google", safe=None)
    

    ?