Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to just download the files locally? #4

Closed
m1ndy opened this issue Apr 3, 2023 · 4 comments
Closed

A way to just download the files locally? #4

m1ndy opened this issue Apr 3, 2023 · 4 comments

Comments

@m1ndy
Copy link

m1ndy commented Apr 3, 2023

Hi would there be a way for the extension to allow downloading all the takeout files locally?

Currently, Takeout downloads are a PITA requiring a bunch of clicks (even if 50GiB chunks are selected)

This would automate those steps.

Bonus points to allow some form of local-session-based ephemeral storage of the google account password too as Takeout re-prompts password after X minutes (1 hour?) of no activity. This is required if you want to download X files at a time based on your local bandwidth availability and serialize the downloads

@m1ndy
Copy link
Author

m1ndy commented Apr 3, 2023

I would set default download location to a mounted rclone crypt which would then allow downloading it live, and it getting uploaded encrypted to another cloud

@nelsonjchen
Copy link
Owner

nelsonjchen commented Apr 3, 2023

The extension was built with exceptional laziness. It was not built upon amazing reverse engineering of the behavior of the pages, just the "final result" of a temporary and signed direct download link. That kind of fight is the kind of fight you would see projects such as https://github.com/yt-dlp/yt-dlp do and do continuously at great effort. I stopped when it was functional enough for me and my ~1TB+ takeout. I know the API I'm using is "stable-ish".

Last time this toolkit broke, it took me 4 months to get the will to fix it up again and that was really because my last backups were getting too stale.

That said, if someone else wants a bite, sure. I might not accept a PR simply due to the maintenance burden though. Willing to give a shoutout in the README, of course.

I do have an issue tracking R2 transloading. That one I'm also too lazy to implement until Cloudflare gets lifecycle rules.

nelsonjchen/gargantuan-takeout-rocket#7

@nelsonjchen
Copy link
Owner

image

It would take me more than a few weeks of effort to reverse engineer the pages and to maintain the reverse engineering. If someone else wants a crack, they can.

@nelsonjchen
Copy link
Owner

My dumb suggestion as a workaround is to simply use the middle click button. I think that's what I do to ward off the page's shittiness. I forgot if that works. Next takeout of mine, I'll be sure to let you know if you don't beat me to it..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants