Created
September 13, 2018 01:51
-
-
Save joonahn/6a2343d9a0f3014323f8709dd83257a9 to your computer and use it in GitHub Desktop.
Get data from web
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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