Author: sparky Date: Fri Mar 12 20:19:48 2010 New Revision: 11258 Modified: toys/rsget.pl/Get/UploadingCom Log: - detect download limit - status: OK 2010-03-12
Modified: toys/rsget.pl/Get/UploadingCom ============================================================================== --- toys/rsget.pl/Get/UploadingCom (original) +++ toys/rsget.pl/Get/UploadingCom Fri Mar 12 20:19:48 2010 @@ -11,8 +11,8 @@ tos: "http://uploading.com/terms/" uri: qr{uploading\.com/(../)?files/(get/)?[A-Za-z0-9]{8}} cookie: !uc -slots: !1 -status: OK 2009-12-11 +slots: 1 +status: OK 2010-03-12 unify: return "http://uploading.com/files/$1/" @@ -23,6 +23,8 @@ GET( $-{_uri} ); + RESTART( -irand( 60, 300 ), "free limit reached: $1" ) + if /(Sorry, you can download only one file per \d+ minutes)/; RESTART( -irand( 60, 300 ), "temporarily unavailable" ) if m{<h1>Service Not Available</h1>}; ERROR( "file not found" ) if /Requested file not found/; _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
