質問編集履歴
1
エラ〜メッセージの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,8 +38,22 @@
|
|
38
38
|
|
39
39
|
div_book_detail = soup.find('div',class='block-book-detail')
|
40
40
|
|
41
|
-
book_title
|
41
|
+
book_title = div_book_detail.find('h2')
|
42
42
|
|
43
43
|
book_title.get_text()
|
44
44
|
|
45
45
|
```
|
46
|
+
|
47
|
+
エラーメッセージ
|
48
|
+
|
49
|
+
```File "<ipython-input-2-482bb24af9f5>", line 1
|
50
|
+
|
51
|
+
div_book_detail = soup.find('div',class='block-book-detail')
|
52
|
+
|
53
|
+
^
|
54
|
+
|
55
|
+
SyntaxError: invalid syntax
|
56
|
+
|
57
|
+
コード
|
58
|
+
|
59
|
+
```
|