Skip to content

Commit

Permalink
Move get cookie to installation in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Stadly committed May 7, 2020
1 parent cbfb84e commit c820e19
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,10 @@ Change working directory:
cd TimelineExtractor/src
```

## Usage

### Authentication

In order to download location history from Google Maps, you must be authenticated. Authentication is done by passing an authentication cookie to `TimelineExtractor`.

#### Get authentication cookie

Follow the steps below to get your authentication cookie from Google Maps Timeline:

1. Go to [Timeline](https://www.google.com/maps/timeline) using [Google Chrome](https://www.google.com/chrome/) or another Chromium-based browser.
Expand All @@ -71,7 +67,9 @@ curl "https://www.google.com/maps/timeline/kml?authuser=0^&pb=^!1m8^!1m3^!1i2020

8. Save the cookie content (what is replaced by `<COOKIE CONTENT>` above) so you can use it to authenticate requests sent by `TimelineExtractor` when downloading location history. It is recommended to store it in a file called `cookie` in the directory `src`, as that will be assumed in most of the examples further down.

#### Authenticate
## Usage

### Authenticate

To authenticate, specify the path to your authentication cookie using the `-c` or `--cookie` argument when running `TimelineExtractor`:

Expand Down

0 comments on commit c820e19

Please sign in to comment.