Hi, The app has new command line tools: youtube-download.pl and youtube-playlists.pl. First one lets you download youtube videos from command line (in similar way line many other tools like that). Second script lets you list URLs to the videos from YouTube playlist url. That lets you download few viedos at once, for example:
% youtube-playlists.pl PLC9D0C04BB10E1797 | youtube-download.pl Using this for few weeks now. It depends on new ports which I sent in last hour to the list. Comments, okays? Changes between in-tree 0.32 to attached 0.38: 0.38 Thu Dec 8 00:44:52 2011 - fix typo (mikolaj++) - remove wrong code (mikolaj++) 0.37 Wed Dec 7 02:33:23 2011 - fix wrong characters in filename in youtube-download.pl (mikolaj++) - fix doc in youtube-download.pl (mikolaj++) - file_name option is DEPRECATED 0.36 Mon Oct 31 02:45:48 2011 - fix default filename problem in youtube-download.pl 0.35 Tue Oct 18 00:28:58 2011 - fix typo in youtube-playlists.pl (rt:71721) 0.34 Sat Oct 15 16:14:57 2011 - workaround for win32 - fix suffix problem 0.33 Wed Oct 12 01:17:34 2011 - added youtube-download.pl and youtube-playlist.pl (request by st3vil++) - fix doc http://cpansearch.perl.org/src/XAICRON/WWW-YouTube-Download-0.38/Changes Index: Makefile =================================================================== RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 26 Aug 2011 09:03:13 -0000 1.4 +++ Makefile 8 Jan 2012 18:25:12 -0000 @@ -3,7 +3,7 @@ COMMENT = simple YouTube interface for downloading videos MODULES = cpan -DISTNAME = WWW-YouTube-Download-0.32 +DISTNAME = WWW-YouTube-Download-0.38 CATEGORIES = www MAINTAINER = Mikolaj Kucharski <miko...@kucharski.name> @@ -20,9 +20,11 @@ MODCPAN_EXAMPLES = Yes MODCPAN_EXAMPLES_DIST = eg -RUN_DEPENDS = www/p5-libwww \ - www/p5-URI \ +RUN_DEPENDS = devel/p5-Term-ANSIColor \ converters/p5-JSON \ - www/p5-HTML-Parser + textproc/p5-XML-TreePP \ + www/p5-HTML-Parser \ + www/p5-URI \ + www/p5-libwww .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/distinfo,v retrieving revision 1.4 diff -u -r1.4 distinfo --- distinfo 26 Aug 2011 09:03:13 -0000 1.4 +++ distinfo 8 Jan 2012 18:25:12 -0000 @@ -1,5 +1,5 @@ -MD5 (WWW-YouTube-Download-0.32.tar.gz) = l3usE74P8TNq8kcWXJBEjw== -RMD160 (WWW-YouTube-Download-0.32.tar.gz) = W8Xm5yO20hcElh6xa7toSUV12bI= -SHA1 (WWW-YouTube-Download-0.32.tar.gz) = 8UG1kxu3RRJu9JHUaosXxbFod8Q= -SHA256 (WWW-YouTube-Download-0.32.tar.gz) = Adhf7sgwMcGTY/5PiOIahk611lKlen4LTrSXEIprxxU= -SIZE (WWW-YouTube-Download-0.32.tar.gz) = 35796 +MD5 (WWW-YouTube-Download-0.38.tar.gz) = 1pk9bEwpc6zwQMrcyIfR3w== +RMD160 (WWW-YouTube-Download-0.38.tar.gz) = skvDA0K/4EsHW2t0EQpbuG41IsU= +SHA1 (WWW-YouTube-Download-0.38.tar.gz) = 9GE/kZ13ScuoIdCNIe38rK0CThE= +SHA256 (WWW-YouTube-Download-0.38.tar.gz) = MN0ZSYcgRXIxAMZW23ZM7AP8Axfi6kNebw/yKw1R7UY= +SIZE (WWW-YouTube-Download-0.38.tar.gz) = 34185 Index: patches/patch-Makefile_PL =================================================================== RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/patches/patch-Makefile_PL,v retrieving revision 1.2 diff -u -r1.2 patch-Makefile_PL --- patches/patch-Makefile_PL 31 Jul 2011 18:09:57 -0000 1.2 +++ patches/patch-Makefile_PL 8 Jan 2012 18:25:12 -0000 @@ -3,13 +3,13 @@ Module::Install::AuthorTests is missing in ports tree, but not really essential. ---- Makefile.PL.orig Tue Jan 4 15:17:14 2011 -+++ Makefile.PL Mon Jan 10 22:22:02 2011 -@@ -8,7 +8,6 @@ requires 'JSON'; - requires 'HTML::Entities'; +--- Makefile.PL.orig Thu Oct 6 21:40:56 2011 ++++ Makefile.PL Tue Nov 22 12:10:04 2011 +@@ -10,7 +10,6 @@ requires 'HTML::Entities'; + requires 'XML::TreePP'; # for youtube-playlists.pl tests 't/*.t t/*/*.t'; -author_tests 'xt'; - test_requires 'Test::More', '0.96'; - auto_include; + install_script 'bin/youtube-download.pl', 'bin/youtube-playlists.pl'; + Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 PLIST --- pkg/PLIST 25 Apr 2011 13:04:17 -0000 1.1.1.1 +++ pkg/PLIST 8 Jan 2012 18:25:12 -0000 @@ -1,6 +1,10 @@ @comment $OpenBSD: PLIST,v 1.1.1.1 2011/04/25 13:04:17 todd Exp $ +bin/youtube-download.pl +bin/youtube-playlists.pl ${P5SITE}/WWW/YouTube/ ${P5SITE}/WWW/YouTube/Download.pm +@man man/man1/youtube-download.pl.1 +@man man/man1/youtube-playlists.pl.1 @man man/man3p/WWW::YouTube::Download.3p share/examples/p5-WWW-YouTube-Download/ share/examples/p5-WWW-YouTube-Download/cb.pl -- best regards q#