Skip to content

Instantly share code, notes, and snippets.

@sh1n0b1
Last active December 30, 2015 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sh1n0b1/7879860 to your computer and use it in GitHub Desktop.
Save sh1n0b1/7879860 to your computer and use it in GitHub Desktop.
Python HTTP Request
import requests, re
URL = 'http://www.google.com'
r = requests.get(URL)
search = re.findall("google", r.text)
print search
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment