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;
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit