質問編集履歴
1
エラーの正式な文を追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -62,6 +62,30 @@
|
|
62
62
|
|
63
63
|
```
|
64
64
|
|
65
|
+
###エラー
|
66
|
+
|
67
|
+
```ここに言語を入力
|
68
|
+
|
69
|
+
IndexError Traceback (most recent call last)
|
70
|
+
|
71
|
+
<ipython-input-30-b004aab7775c> in <module>
|
72
|
+
|
73
|
+
1 for i in range(len(novel_click)):
|
74
|
+
|
75
|
+
2 sleep(2)
|
76
|
+
|
77
|
+
----> 3 links[i].click
|
78
|
+
|
79
|
+
4 sleep(2)
|
80
|
+
|
81
|
+
5 url = driver.find_element_by_class_name("links").get_attribute("href")
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
IndexError: list index out of range
|
86
|
+
|
87
|
+
```
|
88
|
+
|
65
89
|
|
66
90
|
|
67
91
|
|