We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 775ea6f commit 2e2d062Copy full SHA for 2e2d062
30days challange/022_Web_Scrapping/web_scrapping.py
@@ -0,0 +1,16 @@
1
+# web scrapping
2
+
3
+# Web scraping is the process of extracting and collecting data from websites and storing it on a local machine or in a database.
4
5
6
+import requests
7
+from bs4 import BeautifulSoup
8
+url = 'https://google.com'
9
10
+# Lets use the requests get method to fetch the data from url
11
12
+response = requests.get(url)
13
+# lets check the status
14
+status = response.status_code
15
+print(status) # 200 means the fetching was successful
16
0 commit comments