Traceback (most recent call last):


 "/usr/local/lib/python3.8/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks

current.result = callback(current.result, *args, **kw)


 "/usr/local/lib/python3.8/site-packages/newsplease/pipeline/pipelines.py", line 485, in process_item

if request['hits']['total']['value'] > 0:
TypeError: 'int' object is not subscriptable

Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/pymongo/srv_resolver.py", line 73, in _resolve_uri

lifetime=self.__connect_timeout)
TypeError: query() got an unexpected keyword argument 'lifetime'
