Merge pull request #903 from tcely/patch-6
Some checks are pending
CI / info (push) Waiting to run
CI / test (3.10) (push) Waiting to run
CI / test (3.11) (push) Waiting to run
CI / test (3.12) (push) Waiting to run
CI / test (3.8) (push) Waiting to run
CI / test (3.9) (push) Waiting to run
CI / containerise (push) Blocked by required conditions

Don't skip unavailable fragments during download
This commit is contained in:
meeb 2025-03-29 17:36:13 +11:00 committed by GitHub
commit b5238e8450
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -281,6 +281,7 @@ def download_media(
'writethumbnail': embed_thumbnail, 'writethumbnail': embed_thumbnail,
'check_formats': None, 'check_formats': None,
'overwrites': None, 'overwrites': None,
'skip_unavailable_fragments': False,
'sleep_interval': 10 + int(settings.DOWNLOAD_MEDIA_DELAY / 20), 'sleep_interval': 10 + int(settings.DOWNLOAD_MEDIA_DELAY / 20),
'max_sleep_interval': settings.DOWNLOAD_MEDIA_DELAY, 'max_sleep_interval': settings.DOWNLOAD_MEDIA_DELAY,
'sleep_interval_requests': 1 + (2 * settings.BACKGROUND_TASK_ASYNC_THREADS), 'sleep_interval_requests': 1 + (2 * settings.BACKGROUND_TASK_ASYNC_THREADS),