diff --git a/linkcheck/HttpUrlData.py b/linkcheck/HttpUrlData.py index 813891f5..0c115a54 100644 --- a/linkcheck/HttpUrlData.py +++ b/linkcheck/HttpUrlData.py @@ -151,8 +151,8 @@ class HttpUrlData(UrlData): def _getHttpRequest(self, method="HEAD"): "Put request and return (status code, status text, mime object)" if self.proxy: - Config.debug("DEBUG: using proxy "+self.proxy+"\n") host = self.proxy+":"+`self.proxyport` + Config.debug("DEBUG: using proxy %s\n" % host) else: host = self.urlTuple[1] if self.urlConnection: diff --git a/linkcheckerrc b/linkcheckerrc index 45154b73..47b31aa1 100644 --- a/linkcheckerrc +++ b/linkcheckerrc @@ -80,8 +80,8 @@ # separately if its strict or not. See the [filtering] section #strict=0 # proxy parameters -#proxy=www-proxy.uni-sb.de -#proxyport=3128 +#proxy = www-proxy.uni-sb.de +#proxyport = 3128 # supply a regular expression for which warnings are printed if found # in any HTML files. #warningregex="Request failed" @@ -99,12 +99,12 @@ # what you wanted. [filtering] # everything with 'lconline' in the URL name is extern -extern1=lconline 0 +# extern1=lconline 0 # everything with 'bookmark' in the URL name is extern and we make # no network connection to such URLs (strict) -extern2=bookmark 1 +# extern2=bookmark 1 # links to our domain are intern -internlinks=calvinsplayground\.de +# internlinks=calvinsplayground\.de #allowdeny=0 # You can provide different user/password pairs for different link types. diff --git a/test/base1.html b/test/base1.html index bcaff8c7..6ab2e9ac 100644 --- a/test/base1.html +++ b/test/base1.html @@ -1,6 +1,7 @@ + \ No newline at end of file