From 36f7e449f865cf56fd2dad14edf3463cf0c343b7 Mon Sep 17 00:00:00 2001 From: snj Date: Tue, 9 Jun 2009 23:02:18 +0000 Subject: Update to youtube-dl-20090530. Changes: - Verify URLs in simulate mode - Only catch UnavailableFormatError in call to process_info - Remove trails from the "append_const" change - Fix TypeError when using the -f option - Added -c option (--continue) interrupted downloads will properly resume and append to the previously downloaded data, instead of overwriting the file. There's some error checking - if the length of the file to be download matches the length of the previously downloaded data, we report that this file has already been downloaded and do nothing. If there is some other HTTP 416 'Requested range not satisfiable' error, we simply re-download the whole file (reverting to the original functionality). All other HTTP errors are simply raised. Resuming does not override -w (--nooverwrite), since it is not clear what should happen if file on disk is larger than file to be downloaded. Thus, -c does nothing if -w is present. --- net/youtube-dl/Makefile | 6 +++--- net/youtube-dl/distinfo | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'net') diff --git a/net/youtube-dl/Makefile b/net/youtube-dl/Makefile index da210faca2f..84606f6258e 100644 --- a/net/youtube-dl/Makefile +++ b/net/youtube-dl/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.12 2009/05/19 18:54:43 snj Exp $ +# $NetBSD: Makefile,v 1.13 2009/06/09 23:02:18 snj Exp $ DISTNAME= youtube-dl -PKGNAME= youtube-dl-20090513 # master site needs to be updated in tandem +PKGNAME= youtube-dl-20090530 # master site needs to be updated in tandem CATEGORIES= net -MASTER_SITES= http://bitbucket.org/rg3/youtube-dl/raw/2009.05.13/ +MASTER_SITES= http://bitbucket.org/rg3/youtube-dl/raw/2009.05.30/ EXTRACT_SUFX= # none DIST_SUBDIR= ${PKGNAME_NOREV} diff --git a/net/youtube-dl/distinfo b/net/youtube-dl/distinfo index 98f722ec7e9..31256d33301 100644 --- a/net/youtube-dl/distinfo +++ b/net/youtube-dl/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.9 2009/05/19 18:54:43 snj Exp $ +$NetBSD: distinfo,v 1.10 2009/06/09 23:02:18 snj Exp $ -SHA1 (youtube-dl-20090513/youtube-dl) = b3f019ec79c96035d773287ed49c56f3ad86563f -RMD160 (youtube-dl-20090513/youtube-dl) = eb6474a4ee8196dcfbc05f4b1152c0145b778634 -Size (youtube-dl-20090513/youtube-dl) = 38673 bytes +SHA1 (youtube-dl-20090530/youtube-dl) = 050e936c222a12b42399e6d041918acb8c8ab0d1 +RMD160 (youtube-dl-20090530/youtube-dl) = fe29b2b46483ca67ef0c6db6aab7d451e8d5b38a +Size (youtube-dl-20090530/youtube-dl) = 40900 bytes -- cgit v1.2.3