Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. http://query.nytimes.com/search/sitesearch/#/*/from19140101to19140131/
  2.  
  3. text = requests.get(url).text # get google html
  4. m2 = re.search('About ([0-9,]+) results', text) # search for results
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement