LEYS TOKENIZE JAPANESE!
['', '']
Traceback (most recent call last):
File "/usr/lib/python3.5/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File "/home/ubuntu/line-bot/venv/lib/python3.5/site-packages/falcon/api.py", line 227, in __call__
responder(req, resp, **params)
File "/home/ubuntu/line-bot/venv/lib/python3.5/site-packages/hug/interface.py", line 659, in __call__
self.render_content(self.call_function(input_parameters), request, response, **kwargs)
File "/home/ubuntu/line-bot/venv/lib/python3.5/site-packages/hug/interface.py", line 600, in call_function
return self.interface(**parameters)
File "/home/ubuntu/line-bot/venv/lib/python3.5/site-packages/hug/interface.py", line 99, in __call__
return __hug_internal_self._function(*args, **kwargs)
File "get_article.py", line 89, in blog_search_post_endpoint_10
articles = find_articles(message, lang)
File "get_article.py", line 62, in find_articles
for item in res['items']:
KeyError: 'items'
使ったcurlは:
hugのlogは: