kopia lustrzana https://github.com/bellingcat/auto-archiver
disable bot_token
rodzic
4854929a1d
commit
32a8db1223
|
@ -111,8 +111,8 @@ class TelethonArchiver(Archiver):
|
|||
result = Metadata()
|
||||
|
||||
# NB: not using bot_token since then private channels cannot be archived: self.client.start(bot_token=self.bot_token)
|
||||
# with self.client.start():
|
||||
with self.client.start(bot_token=self.bot_token):
|
||||
with self.client.start():
|
||||
# with self.client.start(bot_token=self.bot_token):
|
||||
try:
|
||||
post = self.client.get_messages(chat, ids=post_id)
|
||||
except ValueError as e:
|
||||
|
|
Ładowanie…
Reference in New Issue