Skip to content

Instantly share code, notes, and snippets.

View floresce's full-sized avatar

floresce

View GitHub Profile
@floresce
floresce / google-timeline-download.sh
Last active July 12, 2022 03:40 — forked from tokland/google-timeline-download.sh
Get KML of Google Maps Timeline for a date range
#!/bin/bash
set -e -u -o pipefail
# Usage:
#
# Export a cookies.txt file from a browser session that is logged in timeline.google.com.
# Use an add-on/extension (Export cookies, Get cookies.txt, ...). Now run the script for the
# desired period:
#
# $ bash google-timeline-download.sh cookies.txt 2022-01-01 2022-02-20 > out.kml