From 95120641a908a954c279c191576eb898bcb2f168 Mon Sep 17 00:00:00 2001 From: Coffeemakr Date: Sat, 25 Nov 2017 02:38:46 +0100 Subject: [PATCH] Fix channel url for channel items --- .../extractor/services/youtube/YoutubeChannelExtractor.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractor.java b/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractor.java index 75b31e037..054e6d798 100644 --- a/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractor.java +++ b/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractor.java @@ -222,6 +222,7 @@ public class YoutubeChannelExtractor extends ChannelExtractor { collector.reset(); final String uploaderName = getName(); + final String uploaderUrl = getCleanUrl(); for (final Element li : element.children()) { if (li.select("div[class=\"feed-item-dismissable\"]").first() != null) { collector.commit(new YoutubeStreamInfoItemExtractor(li) { @@ -252,6 +253,11 @@ public class YoutubeChannelExtractor extends ChannelExtractor { return uploaderName; } + @Override + public String getUploaderUrl() throws ParsingException { + return uploaderUrl; + } + @Override public String getThumbnailUrl() throws ParsingException { try {