youtube-dl

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

commit 75f2e25ba9aac4b9bd41fddd4bfc843e086a3288
parent 0d466d34a3e23ca6f84e37eca7003f4d762dc65e
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Mon, 24 Mar 2014 21:23:05 +0100

[downloader/hls] Encode filename (Fixes #2609)

Diffstat:
Myoutube_dl/downloader/hls.py | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py @@ -13,8 +13,10 @@ class HlsFD(FileDownloader): self.report_destination(filename) tmpfilename = self.temp_name(filename) - args = ['-y', '-i', url, '-f', 'mp4', '-c', 'copy', - '-bsf:a', 'aac_adtstoasc', tmpfilename] + args = [ + '-y', '-i', url, '-f', 'mp4', '-c', 'copy', + '-bsf:a', 'aac_adtstoasc', + encodeFilename(tmpfilename, for_subprocess=True)] for program in ['avconv', 'ffmpeg']: try: