fix: subsfeed sections placeholders missing

This commit is contained in:
LuanRT
2022-01-05 16:36:48 -03:00
parent ee3f1b4638
commit 8153e6178c

View File

@@ -219,7 +219,9 @@ class Innertube {
const section_contents = section.itemSectionRenderer.contents[0];
const section_items = section_contents.shelfRenderer.content.gridRenderer.items;
const key = section_contents.shelfRenderer.title.runs[0].text;
subscriptions_feed[key.toLowerCase().replace(/ +/g, '_')] = [];
section_items.forEach((item) => {
const content = {