SVN: toys/rsget.pl/Video/YouTube
sparky
sparky at pld-linux.org
Sat Apr 3 00:22:55 CEST 2010
Author: sparky
Date: Sat Apr 3 00:22:55 2010
New Revision: 11295
Modified:
toys/rsget.pl/Video/YouTube
Log:
- unborked format detection
Modified: toys/rsget.pl/Video/YouTube
==============================================================================
--- toys/rsget.pl/Video/YouTube (original)
+++ toys/rsget.pl/Video/YouTube Sat Apr 3 00:22:55 2010
@@ -35,7 +35,7 @@
my $name = de_ml( de_ml( $1 ) );
$name =~ s{/}{_}g;
- ! /"fmt_map"\s*:\s*"(.*?)"/ or m{&fmt_map=\S+?&};
+ ! /"fmt_map"\s*:\s*"(.*?)"/ or m{&fmt_map=(\S+?)&};
my %fmts = map { m{(\d+)/}; $1 => $_ } split ",", uri_unescape( $1 );
my $fmt = $fmt[ $#fmt ];
More information about the pld-cvs-commit
mailing list