回答編集履歴
1
Update
test
CHANGED
@@ -4,6 +4,6 @@
|
|
4
4
|
|
5
5
|
html = driver.page_source.encode('utf-8')
|
6
6
|
soup = BeautifulSoup(html, 'html.parser')
|
7
|
-
for elem_
|
7
|
+
for elem_a in soup.select('a:has(> h3)'):
|
8
|
-
print(elem_a
|
8
|
+
print(elem_a['href'])
|
9
9
|
```
|