回答編集履歴
1
脱字
answer
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
idがnewsである要素はsectionで、`soup.find_all('h1', id = "news")`ではidが
|
1
|
+
idがnewsである要素はsectionで、`soup.find_all('h1', id = "news")`では「idがnewsであるh1要素」を探しているのですから、ヒットするはずがないのでは。
|