2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-22 09:57:38 +00:00

Redirection doesn't always seem to happen

Ref: https://github.com/TeamNewPipe/NewPipeExtractor/pull/1347#issuecomment-3123364807
Co-Authored-By: Audric V. <74829229+AudricV@users.noreply.github.com>
This commit is contained in:
litetex 2025-07-26 23:17:50 +02:00 committed by TobiGr
parent f91454d24f
commit b05347d68d

View File

@ -76,6 +76,8 @@ public final class YoutubeChannelHelper {
// @TheDailyShow // @TheDailyShow
// -> resolves to thedailyshow // -> resolves to thedailyshow
// -> resolves to the id: UCwWhs_6x42TyRM4Wstoq8HA // -> resolves to the id: UCwWhs_6x42TyRM4Wstoq8HA
// Please note that this is not always the case, some handles
// e.g. @google or @Gronkh directly resolve the id
for (int tries = 0; for (int tries = 0;
urlToResolve != null && tries < 3; urlToResolve != null && tries < 3;
tries++) { tries++) {