mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 15:25:49 +00:00
[downloader/fragment] remove unused code
This commit is contained in:
parent
3e0304fe6e
commit
4abdba643c
@ -12,7 +12,6 @@
|
||||
encodeFilename,
|
||||
sanitize_open,
|
||||
sanitized_Request,
|
||||
compat_str,
|
||||
)
|
||||
|
||||
|
||||
|
@ -232,10 +232,6 @@ def real_download(self, filename, info_dict):
|
||||
count = 0
|
||||
while count <= fragment_retries:
|
||||
try:
|
||||
success = ctx['dl'].download(target_filename, {
|
||||
'url': segment_url,
|
||||
'http_headers': info_dict.get('http_headers'),
|
||||
})
|
||||
success, frag_content = self._download_fragment(ctx, segment['url'], info_dict)
|
||||
if not success:
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user