SVN: toys/rsget.pl/Video/YouTube
sparky
sparky at pld-linux.org
Sat Jan 30 23:44:43 CET 2010
Author: sparky
Date: Sat Jan 30 23:44:42 2010
New Revision: 11123
Modified:
toys/rsget.pl/Video/YouTube
Log:
- default to fmt 18
Modified: toys/rsget.pl/Video/YouTube
==============================================================================
--- toys/rsget.pl/Video/YouTube (original)
+++ toys/rsget.pl/Video/YouTube Sat Jan 30 23:44:42 2010
@@ -38,7 +38,7 @@
! /"fmt_map"\s*:\s*"(.*?)"/;
my %fmts = map { m{(\d+)/}; $1 => $_ } split ",", uri_unescape( $1 );
- my $fmt;
+ my $fmt = $fmt[ $#fmt ];
foreach my $f ( @fmt ) {
if ( exists $fmts{ $f->[0] } ) {
$fmt = $f;
More information about the pld-cvs-commit
mailing list