SVN: toys/rsget.pl/Video/YouTube

pawelz pawelz at pld-linux.org
Fri Sep 24 11:13:33 CEST 2010


Author: pawelz
Date: Fri Sep 24 11:13:33 2010
New Revision: 11814

Modified:
   toys/rsget.pl/Video/YouTube
Log:
- Don't treat "feature is not available" as an error.


Modified: toys/rsget.pl/Video/YouTube
==============================================================================
--- toys/rsget.pl/Video/YouTube	(original)
+++ toys/rsget.pl/Video/YouTube	Fri Sep 24 11:13:33 2010
@@ -43,7 +43,7 @@
 	GET( $-{_uri} );
 
 	ERROR( "file not found: $1" )
-		if /<div\s[^>]+class="yt-alert-content">\s*(Th.*?)\s*</s;
+		if /<div\s[^>]+class="yt-alert-content">\s*(The.*?)\s*</s;
 	ERROR( "age verification required" )
 		if $-{_referer} =~ m#/verify_age#;
 


More information about the pld-cvs-commit mailing list