mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-17 23:41:52 +01:00
Fix --skip-unavailable-fragments
Bug in d71fd412495af9ebccef807379859a0baa97ddee Closes #3437
This commit is contained in:
parent
abfecb7bc1
commit
e06bd8800f
@ -134,6 +134,8 @@ class FragmentFD(FileDownloader):
|
||||
return True
|
||||
|
||||
def _read_fragment(self, ctx):
|
||||
if not ctx.get('fragment_filename_sanitized'):
|
||||
return None
|
||||
try:
|
||||
down, frag_sanitized = self.sanitize_open(ctx['fragment_filename_sanitized'], 'rb')
|
||||
except FileNotFoundError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user