Skip to content

Convert googleMapsSearches to LAVA @artifact_processor (+ bug fix)#848

Merged
abrignoni merged 1 commit into
mainfrom
lava-batch-93
Jun 22, 2026
Merged

Convert googleMapsSearches to LAVA @artifact_processor (+ bug fix)#848
abrignoni merged 1 commit into
mainfrom
lava-batch-93

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Converts googleMapsSearches.py (Google Maps recent-search protobuf cache) to the decorated @artifact_processor pattern.

Changes

  • Consolidates the per-file dynamically-named (- {counter}) reports into one fixed-name Google Maps Searches table; KML retained (output_types: all) — Latitude/Longitude/Timestamp columns confirmed present.
  • Bug fix: the duplicated list/dict extraction is refactored into one _extract_search helper, fixing a latent NameError where the dict branch referenced things (the list branch's loop variable, undefined if only a single dict entry existed).
  • Microsecond search timestamp → aware UTC datetime.
  • Protobuf typedef preserved verbatim; the decode is wrapped so a malformed cache is skipped instead of crashing.

Original dates (2023-10-15) preserved.

Converts the Google Maps recent-search protobuf cache parser to the
decorated single-return pattern. Consolidates the per-file dynamically-
named reports into one fixed-name table; KML retained via output_types
'all'. The duplicated list/dict extraction is refactored into one helper,
fixing a latent NameError where the dict branch referenced 'things' (the
list branch's loop variable). Microsecond search timestamp becomes an
aware UTC datetime. Protobuf typedef preserved verbatim; decode wrapped so
a malformed cache is skipped rather than crashing.
@abrignoni abrignoni merged commit f139589 into main Jun 22, 2026
2 checks passed
@abrignoni abrignoni deleted the lava-batch-93 branch June 22, 2026 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant