diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamInfoItemLockupExtractor.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamInfoItemLockupExtractor.java index 8bd6a4a1b..e5819dc4f 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamInfoItemLockupExtractor.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamInfoItemLockupExtractor.java @@ -209,8 +209,10 @@ public class YoutubeStreamInfoItemLockupExtractor implements StreamInfoItemExtra throw new ParsingException("Could not get uploader url"); } - private String resolveUploaderUrlFromRelativeUrl(final String url) throws ParsingException { - return YoutubeChannelLinkHandlerFactory.getInstance().getUrl("c" + url); + private String resolveUploaderUrlFromRelativeUrl(final String relativeUrl) + throws ParsingException { + return YoutubeChannelLinkHandlerFactory.getInstance().getUrl( + relativeUrl.startsWith("/") ? relativeUrl.substring(1) : relativeUrl); } @Nonnull