Skip to content

Fix for issue related to SectionHeaderView not parsing correctly #1015

@Crashb0y01

Description

@Crashb0y01

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch youtubei.js@14.0.0 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/youtubei.js/dist/src/parser/parser.js b/node_modules/youtubei.js/dist/src/parser/parser.js
index b0b4711..dd97b34 100644
--- a/node_modules/youtubei.js/dist/src/parser/parser.js
+++ b/node_modules/youtubei.js/dist/src/parser/parser.js
@@ -37,7 +37,8 @@ const IGNORED_LIST = new Set([
     'StatementBanner',
     'GuideSigninPromo',
     'AdsEngagementPanelContent',
-    'MiniGameCardView'
+    'MiniGameCardView',
+    'VideoSummaryParagraphView',
+    'GridShelfView'
 ]);
 const RUNTIME_NODES = new Map(Object.entries(YTNodes));
 const DYNAMIC_NODES = new Map();

This issue body was partially generated by patch-package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions