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 00d4d01 commit f11155bCopy full SHA for f11155b
ScrapeThisSite/Forms, Searching & Pagination.py
@@ -2,9 +2,6 @@
2
import requests, os
3
from bs4 import BeautifulSoup as bs
4
5
-# import pandas as pd
6
-# all_tables = pd.read_html(link)
7
-
8
try: os.mkdir('Scrapped')
9
except: pass
10
@@ -15,4 +12,7 @@
15
12
table = soup.findAll('table', attrs = {'class':'table'})[0]
16
13
for i in table:
17
14
tr = table.findAll('tr')
18
- print(tr)
+
+ for j in tr:
+ print(j.text.strip()) # append this in list
+ # and update in new dict above list
0 commit comments