mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-10-30 22:52:40 +00:00
parent
abfecb7bc1
commit
e06bd8800f
1 changed files with 2 additions and 0 deletions
|
@ -134,6 +134,8 @@ def _download_fragment(self, ctx, frag_url, info_dict, headers=None, request_dat
|
|||
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…
Reference in a new issue