mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-07 11:15:42 +01:00
fix ios tracking
This commit is contained in:
parent
6ff5f0b4a8
commit
d58daa7440
1 changed files with 4 additions and 5 deletions
|
@ -261,7 +261,6 @@ async def download_telegram_ios_beta_and_extract_resources(session: aiohttp.Clie
|
|||
|
||||
files_to_track = files_to_convert + [
|
||||
f'{resources_path}/_CodeSignature/CodeResources',
|
||||
f'{resources_path}/SC_Info/Manifest.plist',
|
||||
]
|
||||
await track_additional_files(files_to_track, client_folder_name, crawled_data_folder)
|
||||
|
||||
|
@ -280,7 +279,7 @@ async def download_telegram_ios_beta_and_extract_resources(session: aiohttp.Clie
|
|||
|
||||
# .car crawler works only in macOS
|
||||
if 'darwin' not in platform.system().lower():
|
||||
cleanup1()
|
||||
# cleanup1()
|
||||
return
|
||||
|
||||
path_to_car = os.path.join(resources_folder, assets_filename)
|
||||
|
@ -306,7 +305,7 @@ async def download_telegram_ios_beta_and_extract_resources(session: aiohttp.Clie
|
|||
save_hash_only=True
|
||||
)
|
||||
|
||||
cleanup2()
|
||||
# cleanup2()
|
||||
|
||||
|
||||
async def download_telegram_android_beta_and_extract_resources(session: aiohttp.ClientSession):
|
||||
|
@ -679,8 +678,8 @@ async def start(mode: str):
|
|||
track_mtproto_methods(),
|
||||
)
|
||||
mode == 'client' and await asyncio.gather(
|
||||
download_telegram_android_beta_and_extract_resources(session),
|
||||
download_telegram_macos_beta_and_extract_resources(session),
|
||||
# download_telegram_android_beta_and_extract_resources(session),
|
||||
# download_telegram_macos_beta_and_extract_resources(session),
|
||||
download_telegram_ios_beta_and_extract_resources(session),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue