# HG changeset patch # User Charlie Root # Date 1560077375 14400 # Node ID e4c78b3eace76fc6e3a145bc3f23d2314c0a6001 # Parent 39600878ff93b2fbfe1f2d68fe4fddb80ce45110 stop bothering Amazon.co.uk at all diff -r 39600878ff93 -r e4c78b3eace7 xml/doAmazonRequest.php --- a/xml/doAmazonRequest.php Sun Jun 09 06:48:35 2019 -0400 +++ b/xml/doAmazonRequest.php Sun Jun 09 06:49:35 2019 -0400 @@ -6,6 +6,10 @@ function doAmazonRequest($ext, $parameters, $try, $dbl='x', $wantXML=True) { + /* Uncomment next line to disable all requests from UK site */ + if ($ext=="co.uk") { + throw new Exception("ThrottledRepeatedly"); + } global $public_key, $private_key; $requestURI = $_SERVER['REQUEST_URI']; $requestIP = $_SERVER['REMOTE_ADDR'];