diff --git a/src/components/ImportPage.vue b/src/components/ImportPage.vue index 91825a65..2874d006 100644 --- a/src/components/ImportPage.vue +++ b/src/components/ImportPage.vue @@ -99,6 +99,14 @@ export default { this.subscriptions.push(id); }); } + // Libretube + else if (text.indexOf("localSubscriptions") != -1) { + const json = JSON.parse(text); + json.localSubscriptions + .forEach(item => { + this.subscriptions.push(item.channelId); + }); + } // Invidious JSON else if (text.indexOf("thin_mode") != -1) { const json = JSON.parse(text);