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

Some features&&fixes #31

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Some features&&fixes #31

wants to merge 3 commits into from

Conversation

rat1borik
Copy link

Исправлены ошибки:

  • Кракозябры в settings.ini (явное указание кодировки UTF-8)

Добавлено:

  • Возвращение user-agent списка (по желанию)
  • Добавлен черный список ключевых слов (antikeywords)
  • Добавлен .gitignore файл

@arsen31ufa
Copy link

Error:(
File "C:\Python\AvitoParser.py", line 217, in set_up
self.antikeys_env = self.config["Avito"]["ANTIKEYS"]
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\configparser.py", line 1273, in getitem
raise KeyError(key)
KeyError: 'ANTIKEYS'

@rat1borik
Copy link
Author

В config-файлике должно быть поле antikeys, даже пустое. В dist.settings.ini оно есть

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

Successfully merging this pull request may close these issues.

None yet

2 participants