[ie/soundcloud] Support --extractor-retries for original formats (#16690)

Partially addresses #15093

Authored by: HarmfulBreeze
This commit is contained in:
Léane GRASSER 2026-06-09 23:17:28 +02:00 committed by GitHub
parent 519a662aa2
commit 0d8460b407
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -269,6 +269,9 @@ class SoundcloudBaseIE(InfoExtractor):
f'for registered users. {self._login_hint()}') f'for registered users. {self._login_hint()}')
elif isinstance(e.cause, HTTPError) and e.cause.status == 403: elif isinstance(e.cause, HTTPError) and e.cause.status == 403:
self.write_debug('Original download format is not available for this client') self.write_debug('Original download format is not available for this client')
# Propagate 429 to the RetryManager in SoundcloudIE._real_extract
elif isinstance(e.cause, HTTPError) and e.cause.status == 429:
raise
else: else:
self.report_warning(e.msg) self.report_warning(e.msg)
download_data = None download_data = None