質問編集履歴
3
エラーメッセージ追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -175,3 +175,37 @@
|
|
175
175
|
raise error
|
176
176
|
|
177
177
|
```
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
エラーメッセージ
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
Traceback (most recent call last):
|
188
|
+
|
189
|
+
File "test2.py", line 66, in <module>
|
190
|
+
|
191
|
+
Tweet(main())
|
192
|
+
|
193
|
+
File "test2.py", line 61, in Tweet
|
194
|
+
|
195
|
+
api.update_status(text)
|
196
|
+
|
197
|
+
File "/Users/magic12/scraping/lib/python3.7/site-packages/tweepy/api.py", line 195, in update_status
|
198
|
+
|
199
|
+
)(post_data=post_data, *args, **kwargs)
|
200
|
+
|
201
|
+
File "/Users/magic12/scraping/lib/python3.7/site-packages/tweepy/binder.py", line 250, in _call
|
202
|
+
|
203
|
+
return method.execute()
|
204
|
+
|
205
|
+
File "/Users/magic12/scraping/lib/python3.7/site-packages/tweepy/binder.py", line 234, in execute
|
206
|
+
|
207
|
+
raise TweepError(error_msg, resp, api_code=api_error_code)
|
208
|
+
|
209
|
+
tweepy.error.TweepError: [{'code': 187, 'message': 'Status is a duplicate.'}]
|
210
|
+
|
211
|
+
ERROR: exit status 1
|
2
コード編集しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
|
30
30
|
|
31
|
-
|
31
|
+
```ここに言語を入力
|
32
32
|
|
33
33
|
import os
|
34
34
|
|
@@ -173,3 +173,5 @@
|
|
173
173
|
else:
|
174
174
|
|
175
175
|
raise error
|
176
|
+
|
177
|
+
```
|
1
個人情報があったため
test
CHANGED
File without changes
|
test
CHANGED
@@ -78,9 +78,9 @@
|
|
78
78
|
|
79
79
|
|
80
80
|
|
81
|
-
|
81
|
+
|
82
82
|
|
83
|
-
response = requests.get(url
|
83
|
+
response = requests.get(url)
|
84
84
|
|
85
85
|
html = lxml.html.fromstring(response.content)
|
86
86
|
|