Skip to content

Commit 4b4c99e

Browse files
committed
[YouTube] Correctly set uploaderUrl for lockup content type items
Fixes an issue, where the uploader URL for related items would be incorrect, due to the `YoutubeChannelLinkHandlerFactory.getUrl` expecting the id with a `channel/` prefix. However, the `browseId` used to extract the channel id is missing this prefix. Ref: TeamNewPipe#1320
1 parent d9c777d commit 4b4c99e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamInfoItemLockupExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public String getUploaderUrl() throws ParsingException {
191191
if (isNullOrEmpty(channelId)) {
192192
throw new ParsingException("Could not get uploader url");
193193
}
194-
return YoutubeChannelLinkHandlerFactory.getInstance().getUrl(channelId);
194+
return YoutubeChannelLinkHandlerFactory.getInstance().getUrl("channel/" + channelId);
195195
}
196196

197197
@Nonnull

0 commit comments

Comments
 (0)