Skip to content

Instantly share code, notes, and snippets.

Created April 18, 2018 00:46
  • Star 20 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
WIP: Automating Google Takeout Download
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch({headless: false});
const page = await browser.newPage();
await page.goto('');
const input = await page.evaluate(() => {
const next = document.querySelector('#identifierNext');
.value = '' ;;
.value = 'password' ;
await page.goto('');
.forEach((e) => e.checked=false);
.forEach((e) => e.checked=true);
// ...
await browser.close();
Copy link

@tcurvelo looking forward for the complete code. Thanks

Copy link

dm17 commented Aug 24, 2020

@prithvi514 @tcurvelo end up using a different solution? Would be good if it did not overwrite the latest Takeout if the new take is < the size of the last one. Also an adjustable value on how many Takeouts to keep and how often to do it would be ideal.

Copy link

where to find the complete code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment