mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-29 17:11:33 +00:00
Import back the BPListReader
This commit is contained in:
@@ -5,6 +5,7 @@ import sqlite3
|
||||
import os
|
||||
import getpass
|
||||
from Whatsapp_Chat_Exporter.utility import WhatsAppIdentifier
|
||||
from bplist import BPListReader
|
||||
try:
|
||||
from iphone_backup_decrypt import EncryptedBackup, RelativePath
|
||||
except ModuleNotFoundError:
|
||||
@@ -133,7 +134,6 @@ def extract_media(base_dir, identifiers, decrypt_chunk_size):
|
||||
pass
|
||||
elif flags == 1:
|
||||
shutil.copyfile(os.path.join(base_dir, folder, hashes), destination)
|
||||
if preserve_timestamp:
|
||||
metadata = BPListReader(row["metadata"]).parse()
|
||||
creation = metadata["$objects"][1]["Birth"]
|
||||
modification = metadata["$objects"][1]["LastModified"]
|
||||
|
||||
Reference in New Issue
Block a user