Author: sparky
Date: Wed Jul 7 14:11:51 2010
New Revision: 11632
Modified:
toys/rsget.pl/Video/YouTube
Log:
- updated/fixed "file not found" detection
Modified: toys/rsget.pl/Video/YouTube
==============================================================================
--- toys/rsget.pl/Video/YouTube (original)
+++ toys/rsget.pl/Video/YouTube Wed Jul 7 14:11:51 2010
@@ -43,7 +43,7 @@
GET( $-{_uri} );
ERROR( "file not found: $1" )
- if /<div id="" class="yt-alert-content">\s*(Th.*?)\s*</s;
+ if /<div\s[^>]+class="yt-alert-content">\s*(Th.*?)\s*</s;
ERROR( "age verification required" )
if $-{_referer} =~ m#/verify_age#;
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit