We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aa0641 commit 1659629Copy full SHA for 1659629
Header_readerTASK01WORK_LIBRARY_N2.py
@@ -0,0 +1,11 @@
1
+from bs4 import BeautifulSoup
2
+import requests
3
+import pandas
4
+
5
+url = input('Enter an URL (starts from `http://`): ')
6
+response = requests.get(url)
7
+soup = BeautifulSoup(response.content,"html.parser")
8
9
+for i in soup.find_all("h2"):
10
+ print(i.response)
11
0 commit comments