From: Antonio Ospite Date: Thu, 14 Jan 2016 17:11:39 +0000 (+0100) Subject: smooth-dl.py: factor out a download_file() function X-Git-Url: https://git.ao2.it/smooth-dl.git/commitdiff_plain/0ea324ce10ef16ea1a781a8d473fafd1646d9596 smooth-dl.py: factor out a download_file() function --- diff --git a/smooth-dl.py b/smooth-dl.py index 3297102..9530392 100755 --- a/smooth-dl.py +++ b/smooth-dl.py @@ -93,6 +93,20 @@ def write_wav_header(out_file, fmt, codec_private_data, data_len): out_file.write("data") out_file.write(struct.pack('