1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 17:08:32 +00:00

[ie/pandatv] Add extractor

This commit is contained in:
ptlydpr 2025-06-05 02:27:30 +09:00
parent 1600e083ea
commit 78a3365c9a

View File

@ -55,7 +55,7 @@ def _real_extract(self, url):
elif error_code == 'needUnlimitItem':
raise ExtractorError('Ticket purchase is required for this stream', expected=True)
elif error_code == 'wrongPw':
raise ExtractorError('Wrong or no stream password. Use --video-password option.', expected=True)
raise ExtractorError('Password protected video, use --video-password <password>', expected=True)
else:
raise ExtractorError(f'API returned an error code: {error_code}')