I have this function which is meant to return the value of how many search results were gotten for a specific word. It was working at one point, however not it only ever returns a none value. Wondering if anybody has some insight into this issue?
edit: sorry the url is set to "<https://www.google.com/search?q=>"

```
def pyGoogleSearch(userInput):#Creates a list of values based off the total number of results
    newWord = url + userInput #add the url and userInput into one object
    page = requests.get(newWord)#search the word in google
    soup = BeautifulSoup(page.content,'lxml')#create a soup objects which parses the html
    search = soup.find('div',id="resultStats").text#actually search for the value
    [int(s) for s in search.split() if s.isdigit()] #convert value to a list of values, still broken up
    print(search)#debug
    return search

```