mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 06:35:42 +07:00
@@ -134,6 +134,8 @@ def _download_fragment(self, ctx, frag_url, info_dict, headers=None, request_dat
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def _read_fragment(self, ctx):
|
def _read_fragment(self, ctx):
|
||||||
|
if not ctx.get('fragment_filename_sanitized'):
|
||||||
|
return None
|
||||||
try:
|
try:
|
||||||
down, frag_sanitized = self.sanitize_open(ctx['fragment_filename_sanitized'], 'rb')
|
down, frag_sanitized = self.sanitize_open(ctx['fragment_filename_sanitized'], 'rb')
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
|
|||||||
Reference in New Issue
Block a user