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

Add option for user to import/export their data. #21

Closed
omarroth opened this issue Jul 19, 2018 · 4 comments · Fixed by #51
Closed

Add option for user to import/export their data. #21

omarroth opened this issue Jul 19, 2018 · 4 comments · Fixed by #51

Comments

@omarroth
Copy link
Contributor

omarroth commented Jul 19, 2018

For folks who want to run their own instance, they should be able to export subscriptions, preferences, etc and upload to their own instance. Should also be able to migrate subscriptions/preferences e.g. from Google to Invidious account, and vice versa.

@xKeiro
Copy link

xKeiro commented Jul 26, 2018

Not sure if possible, but it would be awesome if you could import/export and merge your data from Newpipe as well!

@omarroth
Copy link
Contributor Author

@xKeiro I'm taking a look at NewPipe, but I'm having trouble finding info on exporting/importing subscriptions and other info. The best I can find is this, which makes it look like it exports in JSON format, but I don't have a device I could test the app on. If it's possible, could you provide an example of NewPipe's export format?

@omarroth omarroth changed the title Add option for user to delete/download their data. Add option for user to delete/import/export their data. Jul 28, 2018
@xKeiro
Copy link

xKeiro commented Jul 28, 2018

@omarroth
This is exactly how it exports (I didn't zip it it was zipped already):
NewPipeData-20180728_173624.zip
Edit: ^this is the export for every data: history, subscriptions, playlists

And here's the export format for just the subscriptions (note: I had to put this in a zip, so i could upload it to GitHub, it comes as a single JSON file)
newpipe_subscriptions_201807281741.zip

Tried including channels with foreign characters (Korean, Japanese) just in case

@omarroth
Copy link
Contributor Author

Subscriptions-only look easy enough.
It looks like watch history is included in the first export though, so I think I'll close #40 before tackling it.

Looks like NewPipe uses the OPML file from YouTube, so Invidious can just export that.

@omarroth omarroth changed the title Add option for user to delete/import/export their data. Add option for user to import/export their data. Jul 30, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants