回答編集履歴

1

不要な変数を削除

2022/06/14 12:42

投稿

退会済みユーザー
test CHANGED
@@ -7,7 +7,7 @@
7
7
  table = soup.find('table')
8
8
 
9
9
  titles=[]
10
- thead = table.find('thead')
10
+
11
11
  tbody = table.find('tbody')
12
12
  trs = tbody.find_all('tr')
13
13
  for tr in trs: