-
-
Save nveenverma/ff1bdfb133c7858879c200638f66add7 to your computer and use it in GitHub Desktop.
This file contains 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
# Using requests module for downloading webpage content | |
response1 = requests.get('https://stackoverflow.com/questions?sort=votes&pagesize=50') | |
# Getting status of the request | |
# 200 status code means our request was successful | |
# 404 status code means that the resource you were looking for was not found | |
response1.status_code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment