Author: sparky Date: Fri Apr 30 16:59:31 2010 New Revision: 11356 Modified: toys/rsget.pl/Get/MegaShares Log: - allow index.php in uri, match all possible IDs
Modified: toys/rsget.pl/Get/MegaShares ============================================================================== --- toys/rsget.pl/Get/MegaShares (original) +++ toys/rsget.pl/Get/MegaShares Fri Apr 30 16:59:31 2010 @@ -9,12 +9,12 @@ short: MS web: "http://megashares.com/" tos: "http://megashares.com/tos.php" -uri: qr{d01\.megashares\.com/(\?d01=|dl/)} +uri: qr{d01\.megashares\.com/((index\.php)?\?d01=|dl/)} cookie: !ms status: OK 2010-04-08 unify: - return "http://d01.megashares.com/?d01=$1" if m#(?:\?d01=|/dl/)([0-9a-f]{7})#; + return "http://d01.megashares.com/?d01=" . lc $1 if m#(?:\?d01=|/dl/)([0-9A-Za-z]{7})#; start: # create fake cookie to skip first page _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
