質問編集履歴
1
ソースコードの結果を書き足した
test
CHANGED
File without changes
|
test
CHANGED
@@ -27,5 +27,11 @@
|
|
27
27
|
for element in topic.find_all('p'):
|
28
28
|
print(element.text)
|
29
29
|
```
|
30
|
+
上記の結果は以下です。
|
31
|
+
Traceback (most recent call last):
|
32
|
+
File "scjaru.py", line 9, in <module>
|
33
|
+
for element in topic.find_all('p'):
|
34
|
+
AttributeError: 'NoneType' object has no attribute 'find_all'
|
30
35
|
|
31
36
|
|
37
|
+
|