How can I get the number of hits for a Google query using Python?
I have a list containing the titles of songs from The Beatles:
songs = ["Love Me Do", "P. S. I Love You", "Please Please Me"]
And I would like to retrieve the number of Google hits when I search Google for:
The Beatles Love Me Do
The Beatles P. S. I Love You
The Beatles Please Please Me
And store these hits into another list. So in the end I'd end up with:
google_hits == [42400000, 2740000, 28200000]