Fixed Artifact Parsing Errors on Android Notification History, FacebookMassenger, googleDuo, keepNotes, GoogleMessages. and Turbo_Battery#637
Open
Floowen wants to merge 5 commits intoabrignoni:mainfrom
Open
Conversation
…ts for improved data extraction and robustness
…r improved clarity and robustness
…otification History scripts for improved clarity and robustness
…and google messages scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request improves the robustness and adaptability of several artifact extraction scripts by dynamically handling schema changes in SQLite databases and better managing timezone conversions. The main focus is on ensuring compatibility with different database versions and preventing errors when expected columns or tables are missing.
Dynamic SQL Query Adaptation (schema detection):
reaction_timestamp,friendship_status, andcontact_relationship_statusbefore including them in SQL statements, preventing failures on missing columns. [1] [2] [3]saved_statuscolumn exists before querying, ensuring compatibility with database schema changes. [1] [2]file_size_bytesandlocal_cache_pathcolumns.Timezone Handling Improvements:
seekerobject, defaulting to UTC if unavailable, and gracefully fall back to UTC timestamps if conversion fails. [1] [2] [3] [4]Minor Bug Fixes and Improvements:
iftoelifto prevent duplicate parsing. [1] [2]These changes collectively make the artifact scripts more resilient to database schema differences and improve data accuracy and error handling.