mirror of
https://github.com/KeL3vRa/TelegramExporter
synced 2024-11-23 16:25:59 +00:00
Modificazione menu
This commit is contained in:
parent
30260016e7
commit
17524a3a9e
@ -810,17 +810,18 @@ if __name__ == "__main__":
|
||||
show_banner()
|
||||
response = -1
|
||||
# Create an instance of the pyrogram client
|
||||
|
||||
if os.path.exists("extraction"):
|
||||
clean_folder = input("Do you want to clean extraction folder from previous extractions files? (y/N): ")
|
||||
if clean_folder == 'y':
|
||||
clean_extraction_folder()
|
||||
|
||||
while response != 0:
|
||||
|
||||
update_folders()
|
||||
|
||||
with Client("my_account", hide_password=True) as client:
|
||||
|
||||
if os.path.exists("extraction"):
|
||||
clean_folder = input("Do you want to clean extraction folder from previous extractions files? (y/N): ")
|
||||
if clean_folder == 'y':
|
||||
clean_extraction_folder()
|
||||
|
||||
try:
|
||||
type_of_extraction = int(input("\nEnter: \n[1] to extract the chats for a single user "
|
||||
" \n[2] to extract the chats for multiple users"
|
||||
|
Loading…
Reference in New Issue
Block a user