Does Pygoogle allows for advanced search options?

neocortex pmilin at gmail.com
Thu Nov 18 08:54:08 CET 2010


Hello All,
Can anyone help me with the Pygoogle:
from pygoogle import pygoogle
word = u'something'
request_word = word.encode('utf-8')
request = ('%s+site:.edu' % request_word)
g = pygoogle(request)
g.get_result_count()

Now, I realized that domain restriction works (site:.edu etc.), but I
would like to be able to control for language too. Is that possible
with the Pygoogle? If not, how can I make that happen?

Thanks!
PM



More information about the Python-list mailing list