user234683 / youtube-local

browser-based client for watching Youtube anonymously and with greater page performance
GNU Affero General Public License v3.0
544 stars 66 forks source link

Import question #217

Open stl3 opened 2 months ago

stl3 commented 2 months ago

When importing subscriptions from another source, does it merge/append to current subscriptions or overwrite it? I was planning to import from newpipe on diff phones and youtube subscriptions. Right now I have subscriptions imported from my main youtube channel so I was wondering if they get merged or overwritten before I do it.

I remember importing newpipe before so I know it kind of works, on Win10 I used DB Browser for SQLite portable, opened the db, export as csv (I think it did not recognise the json formatted one), exported to folder and imported from there. Now I'm wondering however, can it also possibly accept subscriptions from GrayJay? I looked at the "subscriptions" file when I exported data from GrayJay and it's just simply formatted like this: ["https://www.youtube.com/channel/UC-TbygL65GCTvKzmQC-a8Ng","https://www.youtube.com/channel/UCMIZ1PU9g27a-dEwCUxWC4A","https://www.youtube.com/channel/UCjrE5YvQ1KYO9Oj8ukjLV6g","https://www.youtube.com/channel/UCEt9_kAwj6OTDiWQUrpHfsA","https://www.youtube.com/channel/UCwRXb5dUK4cvsHbx-rGzSgw"]

This of course is distinctly different from google takeout format or newpipe format. How should I go about this?

user234683 commented 2 months ago

It will merge into your existing subscriptions, so you won't lose anything

user234683 commented 2 months ago

It doesn't support GrayJay, that would require some code changes. Reformatting to csv wouldn't work since it needs the channel name and it's not provided in that format.