rohithpr / py-web-search

A Python module to fetch and parse results from different search engines.
MIT License
77 stars 26 forks source link

Exception when handling results of peculiar query #12

Closed FelipeLema closed 9 years ago

FelipeLema commented 9 years ago

To reproduce exception:

    from pws import Google
    Google.query('PB287Q site:.cl')

Using python 3.4.1 and pws 0.2.3

rohithpr commented 9 years ago

It's supposed to be Google.search() and not Google.query(). FWIW, I didn't get any errors wrt the query term itself.

FelipeLema commented 9 years ago

Looks like I'm timing out on queries.

rohithpr commented 9 years ago

Just be careful not to make too many queries continuously.