Skip to content

search_results taking empty list values #92

Description

@Scotchex

For 90% of the time the search_results list is taking empty values in hence, i am facing out of range errors.
Here is an example of the code that only works 10% of the time:

`from googleapi import google
def googleSearch(searchterm):
num_page = 1
search_results = google.search(searchterm, num_page)
return search_results[0].description

x = input('search?')
print(googleSearch(x))`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions