qwertyadrian/TG_AutoPoster

Ошибка больше 100 постов

LexsaTV opened this issue · 0 comments

Job "AutoPoster.get_new_posts (trigger: interval[0:53:20], next run at: 2023-07-30 23:40:13 MSK)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/home/tgpost/TG_AutoPoster/TG_AutoPoster.py", line 127, in get_new_posts
for post in chain(group.get_posts(), group.get_stories()):
File "/home/tgpost/TG_AutoPoster/utils/vk/group.py", line 79, in get_posts
total = self.get_raw_posts(1)["count"]
KeyError: 'count'