Update extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/linkHandler/YoutubeChannelLinkHandlerFactory.java

Fix typos

Co-authored-by: Tobias Groza <TobiGr@users.noreply.github.com>
This commit is contained in:
Bartosz Rumiński 2020-10-12 19:57:45 +02:00 committed by GitHub
parent 9d63211a66
commit 7abb4b3713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ public class YoutubeChannelLinkHandlerFactory extends ListLinkHandlerFactory {
path = path.substring(1); path = path.substring(1);
String[] splitPath = path.split("/"); String[] splitPath = path.split("/");
// Handle custom short channel urls like youtube.com/yourcustomname // Handle custom short channel URLs like youtube.com/yourcustomname
if (isCustomShortChannelUrl(splitPath)) { if (isCustomShortChannelUrl(splitPath)) {
path = "c/" + path; path = "c/" + path;
splitPath = path.split("/"); splitPath = path.split("/");