Skip to content

Commit 3deef52

Browse files
litetexAudricV
andcommitted
Redirection doesn't always seem to happen
Ref: TeamNewPipe#1347 (comment) Co-Authored-By: Audric V. <74829229+AudricV@users.noreply.github.com>
1 parent 379e551 commit 3deef52

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelHelper.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ public static String resolveChannelId(@Nonnull final String idOrPath)
7676
// @TheDailyShow
7777
// -> resolves to thedailyshow
7878
// -> resolves to the id: UCwWhs_6x42TyRM4Wstoq8HA
79+
// Please note that this is not always the case, some handles
80+
// e.g. @google or @Gronkh directly resolve the id
7981
for (int tries = 0;
8082
urlToResolve != null && tries < 3;
8183
tries++) {

0 commit comments

Comments
 (0)