title: WGET your google location history daily
body: <p>I want to save my google location history in a regular basis.</p>
  
  <p>Usually I use the Webinterface: 
  <a href="https://maps.google.com/locationhistory/b/0" rel="nofollow noreferrer">https://maps.google.com/locationhistory/b/0</a></p>
  
  <p>it also provides a link to export data which looks like that:</p>
  
  <p><a href="https://maps.google.com/locationhistory/b/0/kml?startTime=1376604000000&amp;endTime=1376690400000" rel="nofollow noreferrer">https://maps.google.com/locationhistory/b/0/kml?startTime=1376604000000&amp;endTime=1376690400000</a> </p>
  
  <p>How can I download this link (and its according timestamps fixed) daily including logging in using WGET or curl?</p>
  
  <p>Simply wget it brought me an <code>302 Moved Temporarily</code></p>