Make necessary changes for adopting the latest iphone_backup_decrypt

This commit is contained in:
KnugiHK
2024-06-22 20:02:29 +08:00
parent f080e2d4ea
commit 7e2800d89a
2 changed files with 21 additions and 37 deletions

View File

@@ -188,13 +188,6 @@ def main():
action='store_true',
help="Use Whatsapp Business default files (iOS only)"
)
parser.add_argument(
"--preserve-timestamp",
dest="preserve_timestamp",
default=False,
action='store_true',
help="Preserve the modification timestamp of the extracted files (iOS only)"
)
parser.add_argument(
"--wab",
"--wa-backup",
@@ -403,7 +396,7 @@ def main():
args.media = identifiers.DOMAIN
if args.backup is not None:
if not os.path.isdir(args.media):
ios_media_handler.extract_media(args.backup, identifiers, args.preserve_timestamp)
ios_media_handler.extract_media(args.backup, identifiers)
else:
print("WhatsApp directory already exists, skipping WhatsApp file extraction.")
if args.db is None: