2

I want to automate the process of downloading my Google Takeout data and uploading it somewhere else. The part of handling the file and uploading it is already done (here is my self answer about that).

But what's still missing is getting the archive. I couldn't find any way to do that. The closest I got is this question where none of the answers tells me how to create a Takeout archive, one claims that it "seems to be almost impossible", but that was in 2014, and this help page, which seems to be about something else, not Google Takeout (or maybe it is? I didn't understand everything).
The reason why I didn't just put a bounty onto the existing question is that I don't want the files on Google Drive (which can be done directly when creating the archive), but download them.

I would prefer a simple "one cmd line to create the archive, one to download it" solution, but if it requires writing a program, so be it.
I want the archive to be complete, so not just GMail or Google Drive.
I'm using Debian 9.6, but that should likely not matter.

  • Contrary to the superuser.com answer, it should definitely be possible to do it somehow. In the worst case, it would just open a browser window in the background and click the correct buttons there. But that's the least practical solution. Sending the correct signals to the server would also work, but there's probably some proper API, as for all Google services. – Fabian Röling Dec 21 '18 at 12:14
  • Here is another claim from 2014 that there is no Google Takeout API. – Fabian Röling Dec 21 '18 at 12:18
  • 1
    The current name of Google Takeout is "Download your data". Just go to takeout.google.com or checkout Download your data. Unfortunately there isn't an API for it. If it exist it should have a page a micro-site on developers.google.com as Google do for all their APIs. – Rubén Jan 5 at 5:36
  • Then the only way would be to automate the clicks on the website. – Fabian Röling Jan 5 at 11:03
  • So were you able to do that by automating the clicks? I know that it's difficult to do with Google services cause they have bot detection and may ban the ip for some time. – cliffroot May 17 at 17:29
1

Currently (June 2019), https://takeout.google.com/ has options to either perform a one-time export or to schedule exports every 2 months for a year (6 archives).

The archive can be delivered as a download link via email or added to Drive/Dropbox/OneDrive/Box.

  • I've noticed that already, but this one year limit is pretty bad. I wanted it to do annually or maybe a little bit more often (since it's a 144GB Download and then a 144GB upload), so I would have to initiate it manually every time again. But for others this might be a valid answer. – Fabian Röling Jun 25 at 1:17
  • I actually don't see this option, did they remove it in the past month or am I dumb? – lahwran Jul 18 at 19:07
  • Aha! I'm dumb, I expected it to be in the first step. It's in the second step. – lahwran Jul 18 at 19:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.