mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-12 13:54:28 +00:00
[ie/soundcloud] Support --extractor-retries for original formats (#16690)
Partially addresses #15093 Authored by: HarmfulBreeze
This commit is contained in:
parent
519a662aa2
commit
0d8460b407
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user