mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2025-08-30 22:05:18 +00:00
fix: YouTube trending name extraction
This commit is contained in:
@@ -85,6 +85,8 @@ public class YoutubeTrendingExtractor extends KioskExtractor<StreamInfoItem> {
|
||||
name = getTextAtKey(header.getObject("feedTabbedHeaderRenderer"), "title");
|
||||
} else if (header.has("c4TabbedHeaderRenderer")) {
|
||||
name = getTextAtKey(header.getObject("c4TabbedHeaderRenderer"), "title");
|
||||
} else if (header.has("pageHeaderRenderer")) {
|
||||
name = getTextAtKey(header.getObject("pageHeaderRenderer"), "pageTitle");
|
||||
}
|
||||
|
||||
if (isNullOrEmpty(name)) {
|
||||
|
Reference in New Issue
Block a user