Author: sparky
Date: Sun Oct  4 17:45:15 2009
New Revision: 10680

Modified:
   toys/rsget.pl/Video/YouTube
Log:
- fix file name


Modified: toys/rsget.pl/Video/YouTube
==============================================================================
--- toys/rsget.pl/Video/YouTube (original)
+++ toys/rsget.pl/Video/YouTube Sun Oct  4 17:45:15 2009
@@ -16,7 +16,8 @@
        GET( "http://www.youtube.com/watch?v=$-{v}"; );
 
        ! m{<meta name="title" content="(.*?)">};
-       my $name = $1;
+       my $name = de_ml( $1 );
+       $name =~ s{/}{_}g;
 
        ! /"fmt_map"\s*:\s*"(.*?)"/;
        my %fmts = map { m{(\d+)/}; $1 => $_ } split ",", uri_unescape( $1 );
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to