From a5a2bc16c9ad51323bab696e3d0e63a60c183cce Mon Sep 17 00:00:00 2001 From: "Ilya (Marshal)" Date: Sun, 16 Apr 2023 00:45:28 +0200 Subject: [PATCH] mtproto layer 155 --- make_files_tree.py | 3 ++- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/make_files_tree.py b/make_files_tree.py index 6fbbaf9f5c..dd2e970b9c 100644 --- a/make_files_tree.py +++ b/make_files_tree.py @@ -453,7 +453,7 @@ async def _fetch_and_track_mtproto(app, output_dir): # 'GetSupportName': await app.invoke(functions.help.GetSupportName()), # 'GetPassportConfig': await app.invoke(functions.help.GetPassportConfig(hash=0)), 'GetCountriesList': await app.invoke(functions.help.GetCountriesList(lang_code='en', hash=0)), - 'GetAppConfig': await app.invoke(functions.help.GetAppConfig()), + 'GetAppConfig': await app.invoke(functions.help.GetAppConfig(hash=0)), # 'GetAppUpdate': await app.invoke(functions.help.GetAppUpdate(source='')), # 'AnimatedEmoji': await app.invoke( # functions.messages.GetStickerSet(stickerset=InputStickerSetAnimatedEmoji(), hash=0) @@ -543,6 +543,7 @@ async def _fetch_and_track_mtproto(app, output_dir): configs['GetConfig'].date = 0 configs['GetConfig'].expires = 0 + configs['GetConfig'].autologin_token = 'crawler' configs['GetConfig'].dc_options = [] for file, content in configs.items(): diff --git a/requirements.txt b/requirements.txt index 12365dc315..6304d41b97 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ aiohttp==3.7.4.post0 aiodns==3.0.0 aiofiles==0.6.0 -git+https://github.com/pyrogram/pyrogram@96ffc7efcd32a65b73ea1bf609faf08492d93b99 +git+https://github.com/pyrogram/pyrogram@68c7bd6e12c5339919f68f346208cebe1aed28d4 TgCrypto==1.2.3 beautifulsoup4==4.11.1 cssutils==2.4.2