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

Document howto export subscriptions from YouTube - #55

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Gestas
Copy link

@Gestas Gestas commented Apr 17, 2021

Fixes #54.

Copy link
Contributor

@jtagcat jtagcat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest breaking down the long list of steps to substeps, eg (add a tab to the beginning of sub-steps)

  1. export foo foo
    1. open link
    2. foo bar
  2. prepare file
  3. import file

Using the link, you also have to re-number. jfyi you can just have everything as 1., and they will be automagically numbered.

Export-YouTube-subscriptions.md Outdated Show resolved Hide resolved
Export-YouTube-subscriptions.md Outdated Show resolved Hide resolved
7. While logged into your Invidious account go to Subscriptions -> Manage Subscriptions ->
Import/Export -> Import YouTube subscriptions, select the file you just downloaded and click on
`Import`.
**This process won't work if you go directly to [Google Takeout](https://takeout.google.com/). You must enter the Takeout process via YouTube as described below.**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change language from won't, must to may, better.

Confirmed just now, I can do this just fine via takeout.google.com.

11. Click "Create export"
12. Wait for the export to complete, it should be fairly quick.
13. Download the export, it will be a .zip file.
14. Expand the ZIP file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add what you end up with (what to look for, what file to upload/import); a subscriptions.json file.

Export-YouTube-subscriptions.md Outdated Show resolved Hide resolved
Export-YouTube-subscriptions.md Outdated Show resolved Hide resolved
Export-YouTube-subscriptions.md Outdated Show resolved Hide resolved
@SamantazFox
Copy link
Member

Can someone with a YT account check this?

@jtagcat
Copy link
Contributor

jtagcat commented Jun 15, 2021

I checked it on 2021-04-17, when I requested changes.

@kuba-orlik
Copy link

Those instructions don't work for me - the archive contains the subscriptions, but they are in csv, not json format, and Invidious can't parse it

@SamantazFox
Copy link
Member

SamantazFox commented Aug 2, 2021

Those instructions don't work for me - the archive contains the subscriptions, but they are in csv, not json format, and Invidious can't parse it

Thanks for your feedback! Do you mind sharing some (anonymized) extracts of that data? I personally can't access Google accounts anymore, they're blocking me x)

@Gestas
Copy link
Author

Gestas commented Aug 3, 2021

I can confirm Google has changed the format of the export from JSON to CSV. I'll work on a new process.

@syeopite
Copy link
Member

syeopite commented Aug 3, 2021

Is the bug presented on #54 still even present? I'd expect Google to have resolved the issue by now

@SamantazFox
Copy link
Member

I haven't read the whole thread yet, but think, you need an example csv.
So here is mine (Language: German)
Abos.csv

Thank you :)

I've heard that the data given by youtube is a zip archive. Is that right?
If yes, is that CSV the only file in it?

@SamantazFox
Copy link
Member

It gives you a ZIP. You can choose which files should be in there.
There will always be a “index” which tells you where which file is and then the files. So it's always different.

Can you please provide that index file, too? because without it, We have no way to guess the subscriptions file name without it (especially in non-english locales)

Copy link

@PaulDance PaulDance left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A typo and a small grammatical mistake I think.

Export-YouTube-subscriptions.md Outdated Show resolved Hide resolved
Export-YouTube-subscriptions.md Outdated Show resolved Hide resolved
@SamantazFox
Copy link
Member

SamantazFox commented Aug 25, 2021

Here is my whole ZIP file: takeout-20210810T160826Z-001.zip
It's in German again.
I also chose to only include the Subs.

Oh, thanks! Sorry, didn't see your message!

And that's annoying: they translate everything, even the file names.
As usual, this is a violation of the GDPR... (the "data portability" chapter explicitely say that the data should be easily parsable by a machine, which, indeed, isn't, as the data is not normalized to a single language)

**This process won't work if you go directly to [Google Takeout](https://takeout.google.com/). You must enter the Takeout process via YouTube as described below.**

1. Make sure you are signed into YouTube with the account you want to export subscriptions from.
2. Open https://takeout.google.com/takeout/custom/youtube?continue=https%3A%2F%2Fmyaccount.google.com%2Fyourdata%2Fyoutube%3Fhl%3Det%26authuser%3D0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
2. Open https://takeout.google.com/takeout/custom/youtube?continue=https%3A%2F%2Fmyaccount.google.com%2Fyourdata%2Fyoutube%3Fhl%3Det%26authuser%3D0
2. Open https://takeout.google.com/takeout/custom/youtube?continue=https%3A%2F%2Fmyaccount.google.com%2Fyourdata%2Fyoutube%3Fhl%3Den%26authuser%3D0

prefer hl=en, so the link may be in english (though I suspect that google doesn't take it into account and determines the language base on the IP address).


1. Make sure you are signed into YouTube with the account you want to export subscriptions from.
2. Open https://takeout.google.com/takeout/custom/youtube?continue=https%3A%2F%2Fmyaccount.google.com%2Fyourdata%2Fyoutube%3Fhl%3Det%26authuser%3D0
6. Click `All YouTube data included`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indexing is wrong.

@unixfox
Copy link
Member

unixfox commented Mar 5, 2023

Is this still relevant?

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

Successfully merging this pull request may close these issues.

Add directions to export subscriptions from YouTube -
8 participants