youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 4abdba643cc2d610fbbfe7ece9ee97a3df98ad33
parent 3e0304fe6e3a194cfb04f21aa261effb0850da40
Author: Remita Amine <remitamine@gmail.com>
Date:   Sat, 22 Apr 2017 18:19:47 +0100

[downloader/fragment] remove unused code

Diffstat:
Myoutube_dl/downloader/fragment.py | 1-
Myoutube_dl/downloader/ism.py | 4----
2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/youtube_dl/downloader/fragment.py b/youtube_dl/downloader/fragment.py @@ -12,7 +12,6 @@ from ..utils import ( encodeFilename, sanitize_open, sanitized_Request, - compat_str, ) diff --git a/youtube_dl/downloader/ism.py b/youtube_dl/downloader/ism.py @@ -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