Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Исключение при сборе rbc #13

Open
stroykova opened this issue Mar 21, 2021 · 1 comment
Open

Исключение при сборе rbc #13

stroykova opened this issue Mar 21, 2021 · 1 comment

Comments

@stroykova
Copy link
Contributor

Данные не собираются

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/local/lib/python3.7/site-packages/scrapy/utils/defer.py", line 150, in f
    return deferred_from_coro(coro_f(*coro_args, **coro_kwargs))
  File "/code/newsbot/pipelines.py", line 38, in process_item
    item["title"] = spider.process_title(item["title"][0])
  File "/usr/local/lib/python3.7/site-packages/scrapy/item.py", line 93, in __getitem__
    return self._values[key]
KeyError: 'title'

@Avenon
Copy link
Contributor

Avenon commented Mar 24, 2021

Поправил в PR: #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants