1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-22 22:47:55 +01:00

[downloader/fragment] remove unused code

This commit is contained in:
Remita Amine 2017-04-22 18:19:47 +01:00
parent 3e0304fe6e
commit 4abdba643c
2 changed files with 0 additions and 5 deletions

View File

@ -12,7 +12,6 @@ from ..utils import (
encodeFilename,
sanitize_open,
sanitized_Request,
compat_str,
)

View File

@ -232,10 +232,6 @@ class IsmFD(FragmentFD):
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