mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2025-08-22 09:57:38 +00:00
[YT] Build correct handle
This commit is contained in:
parent
a5fcc7d7aa
commit
4701c56e86
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user