Compare commits

..

1 Commits
dev ... main

Author SHA1 Message Date
Николай
43879a0401 Удалить telethon.session 2023-06-07 16:05:00 +03:00
4 changed files with 1 additions and 5 deletions

3
.gitignore vendored
View File

@ -2,6 +2,3 @@
*.json
# Ini file with privat info
*.ini
# VS Code
.vscode
venv

View File

@ -1 +0,0 @@
Telethon==1.28.5

View File

@ -95,7 +95,7 @@ async def dump_all_messages(channel):
if total_count_limit != 0 and total_messages >= total_count_limit:
break
with open(f'{channel.id}_messages.json', 'w', encoding='utf8') as outfile:
with open('channel_messages.json', 'w', encoding='utf8') as outfile:
json.dump(all_messages, outfile, ensure_ascii=False, cls=DateTimeEncoder)

Binary file not shown.