回答編集履歴
1
修正
test
CHANGED
@@ -64,13 +64,13 @@
|
|
64
64
|
|
65
65
|
(略)
|
66
66
|
|
67
|
-
# session = requests.Session() ↓に置き換え
|
67
|
+
# session = requests.Session() この行を↓に置き換え
|
68
68
|
|
69
69
|
session = requests_html.HTMLSession()
|
70
70
|
|
71
71
|
|
72
72
|
|
73
|
-
# soup = session.get(target_url) ↓に置き換え
|
73
|
+
# soup = session.get(target_url) この行を↓に置き換え
|
74
74
|
|
75
75
|
resp = session.get(target_url)
|
76
76
|
|
@@ -86,7 +86,7 @@
|
|
86
86
|
|
87
87
|
|
88
88
|
|
89
|
-
# title = soup.find_all('title') ↓に置き換え
|
89
|
+
# title = soup.find_all('title') この行を↓に置き換え
|
90
90
|
|
91
91
|
title = resp.html.find('title')
|
92
92
|
|