1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-13 13:05:13 +00:00

[ie/youtube] Fix remote components warning (#14853)

Fix 6224a38988

Authored by: bashonly
This commit is contained in:
bashonly
2025-11-01 02:15:15 -05:00
committed by GitHub
parent 6224a38988
commit cacd1630a1

View File

@@ -181,7 +181,7 @@ class JsChallengeRequestDirector:
return parts[0] return parts[0]
return f'{", ".join(parts[:-1])} {joiner} {parts[-1]}' return f'{", ".join(parts[:-1])} {joiner} {parts[-1]}'
if len(descriptions) > 1: if len(descriptions) == 1:
msg = ( msg = (
f'Remote component {descriptions[0]} was skipped. ' f'Remote component {descriptions[0]} was skipped. '
f'It may be required to solve JS challenges. ' f'It may be required to solve JS challenges. '