Skip to content

Instantly share code, notes, and snippets.

@joonahn
Created September 13, 2018 01:51
Show Gist options
  • Save joonahn/6a2343d9a0f3014323f8709dd83257a9 to your computer and use it in GitHub Desktop.
Save joonahn/6a2343d9a0f3014323f8709dd83257a9 to your computer and use it in GitHub Desktop.
Get data from web
import requests
URL = 'http://www.tistory.com'
response = requests.get(URL)
print(response.status_code)
print(response.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment