From 0847e21968d3642dc4a4dcb86aaaea2156f3ab65 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Thu, 12 Jan 2012 10:50:06 +0100 Subject: [PATCH] [FIX] disable call to SWIFT lookup page that no longer exists --- account_banking/sepa/online.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/account_banking/sepa/online.py b/account_banking/sepa/online.py index 04eccd148..52bca9da9 100644 --- a/account_banking/sepa/online.py +++ b/account_banking/sepa/online.py @@ -175,7 +175,16 @@ def bank_info(bic): requests to make. In total three HTTP requests are made per function call. In theory one request could be stripped, but the SWIFT terms of use prevent automated usage, so user like behavior is required. + + Update January 2012: Always return None, as the SWIFT page to retrieve the + information does no longer exist. + If demand exists, maybe bite the bullet and integrate with a paid web + service such as http://www.iban-rechner.de. + lp914922 additionally suggests to make online lookup optional. ''' + + return None, None + def harvest(soup): retval = struct() for trsoup in soup('tr'):