質問編集履歴

2

ユーザー名を伏せ切れてなかったのを修正

2020/08/12 11:24

投稿

kokastar
kokastar

スコア5

test CHANGED
File without changes
test CHANGED
@@ -42,15 +42,15 @@
42
42
 
43
43
  self._prepare_proxy(conn)
44
44
 
45
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 932, in _prepare_proxy
45
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 932, in _prepare_proxy
46
46
 
47
47
  conn.connect()
48
48
 
49
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 309, in connect
49
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 309, in connect
50
50
 
51
51
  conn = self._new_conn()
52
52
 
53
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 164, in _new_conn
53
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 164, in _new_conn
54
54
 
55
55
  raise ConnectTimeoutError(
56
56
 
@@ -64,15 +64,15 @@
64
64
 
65
65
  Traceback (most recent call last):
66
66
 
67
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 439, in send
67
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 439, in send
68
68
 
69
69
  resp = conn.urlopen(
70
70
 
71
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 726, in urlopen
71
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 726, in urlopen
72
72
 
73
73
  retries = retries.increment(
74
74
 
75
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\retry.py", line 439, in increment
75
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\retry.py", line 439, in increment
76
76
 
77
77
  raise MaxRetryError(_pool, url, error or ResponseError(cause))
78
78
 
@@ -86,51 +86,51 @@
86
86
 
87
87
  Traceback (most recent call last):
88
88
 
89
- File "c:/Users/pochi/tech_club Gtrend/Google trend/test.py", line 2, in <module>
89
+ File "c:/Users/*****/tech_club Gtrend/Google trend/test.py", line 2, in <module>
90
90
 
91
91
  pytrends = TrendReq(hl='ja-JP', tz=-540, timeout=(10,25), proxies=['https://34.203.233.13:80',], retries=2, backoff_factor=0.1)
92
92
 
93
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\pytrends\request.py", line 58, in __init__
93
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\pytrends\request.py", line 58, in __init__
94
94
 
95
95
  self.cookies = self.GetGoogleCookie()
96
96
 
97
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\pytrends\request.py", line 77, in GetGoogleCookie
97
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\pytrends\request.py", line 77, in GetGoogleCookie
98
98
 
99
99
  return dict(filter(lambda i: i[0] == 'NID', requests.get(
100
100
 
101
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py", line 76, in get
101
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py", line 76, in get
102
-
102
+
103
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py", line 61, in request
103
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py", line 61, in request
104
104
 
105
105
  return session.request(method=method, url=url, **kwargs)
106
106
 
107
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 530, in request
107
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 530, in request
108
108
 
109
109
  resp = self.send(prep, **send_kwargs)
110
110
 
111
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 643, in send
111
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 643, in send
112
112
 
113
113
  r = adapter.send(request, **kwargs)
114
114
 
115
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 504, in send
115
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 504, in send
116
116
 
117
117
  raise ConnectTimeout(e, request=request)
118
118
 
119
119
  requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='trends.google.com', port=443): Max retries exceeded with url: /?geo=JP (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000002079C9FE7F0>, 'Connection to 34.203.233.13 timed out. (connect timeout=10)'))
120
120
 
121
- PS C:\Users\pochi\tech_club Gtrend> & C:/Users/pochi/AppData/Local/Programs/Python/Python38/python.exe "c:/Users/pochi/tech_club Gtrend/Google trend/test.py"
121
+ PS C:\Users*****\tech_club Gtrend> & C:/Users/*****/AppData/Local/Programs/Python/Python38/python.exe "c:/Users/*****/tech_club Gtrend/Google trend/test.py"
122
-
122
+
123
- Traceback (most recent call last):
123
+ Traceback (most recent call last):
124
-
124
+
125
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 159, in _new_conn
125
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 159, in _new_conn
126
126
 
127
127
  conn = connection.create_connection(
128
128
 
129
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
129
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
130
130
 
131
131
  raise err
132
132
 
133
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
133
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
134
134
 
135
135
  sock.connect(sa)
136
136
 
@@ -144,19 +144,19 @@
144
144
 
145
145
  Traceback (most recent call last):
146
146
 
147
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 667, in urlopen
147
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 667, in urlopen
148
148
 
149
149
  self._prepare_proxy(conn)
150
150
 
151
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 932, in _prepare_proxy
151
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 932, in _prepare_proxy
152
152
 
153
153
  conn.connect()
154
154
 
155
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 309, in connect
155
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 309, in connect
156
156
 
157
157
  conn = self._new_conn()
158
158
 
159
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 164, in _new_conn
159
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 164, in _new_conn
160
160
 
161
161
  raise ConnectTimeoutError(
162
162
 
@@ -170,15 +170,15 @@
170
170
 
171
171
  Traceback (most recent call last):
172
172
 
173
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 439, in send
173
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 439, in send
174
174
 
175
175
  resp = conn.urlopen(
176
176
 
177
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 726, in urlopen
177
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 726, in urlopen
178
178
 
179
179
  retries = retries.increment(
180
180
 
181
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\retry.py", line 439, in increment
181
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\retry.py", line 439, in increment
182
182
 
183
183
  raise MaxRetryError(_pool, url, error or ResponseError(cause))
184
184
 
@@ -192,35 +192,35 @@
192
192
 
193
193
  Traceback (most recent call last):
194
194
 
195
- File "c:/Users/pochi/tech_club Gtrend/Google trend/test.py", line 2, in <module>
195
+ File "c:/Users/*****/tech_club Gtrend/Google trend/test.py", line 2, in <module>
196
196
 
197
197
  pytrends = TrendReq(hl='ja-JP', tz=-540, timeout=(10,25), proxies=['https://34.203.233.13:80',], retries=2, backoff_factor=0.1)
198
198
 
199
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\pytrends\request.py", line 58, in __init__
199
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\pytrends\request.py", line 58, in __init__
200
200
 
201
201
  self.cookies = self.GetGoogleCookie()
202
202
 
203
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\pytrends\request.py", line 77, in GetGoogleCookie
203
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\pytrends\request.py", line 77, in GetGoogleCookie
204
204
 
205
205
  return dict(filter(lambda i: i[0] == 'NID', requests.get(
206
206
 
207
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py", line 76, in get
207
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py", line 76, in get
208
208
 
209
209
  return request('get', url, params=params, **kwargs)
210
210
 
211
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py", line 61, in request
211
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py", line 61, in request
212
212
 
213
213
  return session.request(method=method, url=url, **kwargs)
214
214
 
215
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 530, in request
215
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 530, in request
216
216
 
217
217
  resp = self.send(prep, **send_kwargs)
218
218
 
219
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 643, in send
219
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 643, in send
220
220
 
221
221
  r = adapter.send(request, **kwargs)
222
222
 
223
- File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 504, in send
223
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 504, in send
224
224
 
225
225
  raise ConnectTimeout(e, request=request)
226
226
 

1

エラーコードを追加

2020/08/12 11:24

投稿

kokastar
kokastar

スコア5

test CHANGED
File without changes
test CHANGED
@@ -1,16 +1,4 @@
1
- ### 内容
2
-
3
- Pythonのモジュール「Pytrends」で、日本のトレンドを取得するコードを書いています。
4
-
5
-
6
-
7
- 以下のコードを実行すると、NewConnectionErrorが出ます。なぜでしょうか。
8
-
9
-
10
-
11
- ```py
12
-
13
- from pytrends.request import TrendReq
1
+ *****.request import TrendReq
14
2
 
15
3
  pytrends = TrendReq(hl='ja-JP', tz=-540, timeout=(10,25), proxies=['https://34.203.233.13:80',], retries=2, backoff_factor=0.1)
16
4
 
@@ -24,6 +12,222 @@
24
12
 
25
13
 
26
14
 
15
+ ### エラーコード
16
+
17
+ ユーザー名は*****で伏せています
18
+
19
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 159, in _new_conn
20
+
21
+ conn = connection.create_connection(
22
+
23
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
24
+
25
+ raise err
26
+
27
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
28
+
29
+ sock.connect(sa)
30
+
31
+ socket.timeout: timed out
32
+
33
+
34
+
35
+ During handling of the above exception, another exception occurred:
36
+
37
+
38
+
39
+ Traceback (most recent call last):
40
+
41
+ File "C:\Users*****\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 667, in urlopen
42
+
43
+ self._prepare_proxy(conn)
44
+
45
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 932, in _prepare_proxy
46
+
47
+ conn.connect()
48
+
49
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 309, in connect
50
+
51
+ conn = self._new_conn()
52
+
53
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 164, in _new_conn
54
+
55
+ raise ConnectTimeoutError(
56
+
57
+ urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x000002079C9FE7F0>, 'Connection to 34.203.233.13 timed out. (connect timeout=10)')
58
+
59
+
60
+
61
+ During handling of the above exception, another exception occurred:
62
+
63
+
64
+
65
+ Traceback (most recent call last):
66
+
67
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 439, in send
68
+
69
+ resp = conn.urlopen(
70
+
71
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 726, in urlopen
72
+
73
+ retries = retries.increment(
74
+
75
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\retry.py", line 439, in increment
76
+
77
+ raise MaxRetryError(_pool, url, error or ResponseError(cause))
78
+
79
+ urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='trends.google.com', port=443): Max retries exceeded with url: /?geo=JP (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000002079C9FE7F0>, 'Connection to 34.203.233.13 timed out. (connect timeout=10)'))
80
+
81
+
82
+
83
+ During handling of the above exception, another exception occurred:
84
+
85
+
86
+
87
+ Traceback (most recent call last):
88
+
89
+ File "c:/Users/pochi/tech_club Gtrend/Google trend/test.py", line 2, in <module>
90
+
91
+ pytrends = TrendReq(hl='ja-JP', tz=-540, timeout=(10,25), proxies=['https://34.203.233.13:80',], retries=2, backoff_factor=0.1)
92
+
93
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\pytrends\request.py", line 58, in __init__
94
+
95
+ self.cookies = self.GetGoogleCookie()
96
+
97
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\pytrends\request.py", line 77, in GetGoogleCookie
98
+
99
+ return dict(filter(lambda i: i[0] == 'NID', requests.get(
100
+
101
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py", line 76, in get
102
+
103
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py", line 61, in request
104
+
105
+ return session.request(method=method, url=url, **kwargs)
106
+
107
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 530, in request
108
+
109
+ resp = self.send(prep, **send_kwargs)
110
+
111
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 643, in send
112
+
113
+ r = adapter.send(request, **kwargs)
114
+
115
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 504, in send
116
+
117
+ raise ConnectTimeout(e, request=request)
118
+
119
+ requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='trends.google.com', port=443): Max retries exceeded with url: /?geo=JP (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000002079C9FE7F0>, 'Connection to 34.203.233.13 timed out. (connect timeout=10)'))
120
+
121
+ PS C:\Users\pochi\tech_club Gtrend> & C:/Users/pochi/AppData/Local/Programs/Python/Python38/python.exe "c:/Users/pochi/tech_club Gtrend/Google trend/test.py"
122
+
123
+ Traceback (most recent call last):
124
+
125
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 159, in _new_conn
126
+
127
+ conn = connection.create_connection(
128
+
129
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
130
+
131
+ raise err
132
+
133
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
134
+
135
+ sock.connect(sa)
136
+
137
+ socket.timeout: timed out
138
+
139
+
140
+
141
+ During handling of the above exception, another exception occurred:
142
+
143
+
144
+
145
+ Traceback (most recent call last):
146
+
147
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 667, in urlopen
148
+
149
+ self._prepare_proxy(conn)
150
+
151
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 932, in _prepare_proxy
152
+
153
+ conn.connect()
154
+
155
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 309, in connect
156
+
157
+ conn = self._new_conn()
158
+
159
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 164, in _new_conn
160
+
161
+ raise ConnectTimeoutError(
162
+
163
+ urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x0000021B2DA8E7F0>, 'Connection to 34.203.233.13 timed out. (connect timeout=10)')
164
+
165
+
166
+
167
+ During handling of the above exception, another exception occurred:
168
+
169
+
170
+
171
+ Traceback (most recent call last):
172
+
173
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 439, in send
174
+
175
+ resp = conn.urlopen(
176
+
177
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 726, in urlopen
178
+
179
+ retries = retries.increment(
180
+
181
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\retry.py", line 439, in increment
182
+
183
+ raise MaxRetryError(_pool, url, error or ResponseError(cause))
184
+
185
+ urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='trends.google.com', port=443): Max retries exceeded with url: /?geo=JP (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000021B2DA8E7F0>, 'Connection to 34.203.233.13 timed out. (connect timeout=10)'))
186
+
187
+
188
+
189
+ During handling of the above exception, another exception occurred:
190
+
191
+
192
+
193
+ Traceback (most recent call last):
194
+
195
+ File "c:/Users/pochi/tech_club Gtrend/Google trend/test.py", line 2, in <module>
196
+
197
+ pytrends = TrendReq(hl='ja-JP', tz=-540, timeout=(10,25), proxies=['https://34.203.233.13:80',], retries=2, backoff_factor=0.1)
198
+
199
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\pytrends\request.py", line 58, in __init__
200
+
201
+ self.cookies = self.GetGoogleCookie()
202
+
203
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\pytrends\request.py", line 77, in GetGoogleCookie
204
+
205
+ return dict(filter(lambda i: i[0] == 'NID', requests.get(
206
+
207
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py", line 76, in get
208
+
209
+ return request('get', url, params=params, **kwargs)
210
+
211
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py", line 61, in request
212
+
213
+ return session.request(method=method, url=url, **kwargs)
214
+
215
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 530, in request
216
+
217
+ resp = self.send(prep, **send_kwargs)
218
+
219
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 643, in send
220
+
221
+ r = adapter.send(request, **kwargs)
222
+
223
+ File "C:\Users\pochi\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 504, in send
224
+
225
+ raise ConnectTimeout(e, request=request)
226
+
227
+ requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='trends.google.com', port=443): Max retries exceeded with url: /?geo=JP (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000021B2DA8E7F0>, 'Connection to 34.203.233.13 timed out. (connect timeout=10)'))
228
+
229
+
230
+
27
231
  ### 実行環境
28
232
 
29
233
  Windows10 Pro 2004(OSビルド 19041.41)