Merge branch 'master' into invidious-support

This commit is contained in:
Christian Schabesberger 2019-02-24 21:58:59 +01:00 committed by GitHub
commit cffbd468cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ public class YoutubeCommentsInfoItemExtractor implements CommentsInfoItemExtract
@Override
public String getAuthorEndpoint() throws ParsingException {
try {
return "https://youtube.com" + JsonUtils.getString(json, "authorEndpoint.browseEndpoint.canonicalBaseUrl");
return "https://youtube.com/channel/" + JsonUtils.getString(json, "authorEndpoint.browseEndpoint.browseId");
} catch (Exception e) {
throw new ParsingException("Could not get author endpoint", e);
}