mw2html.py - don't fetch audacityteam non wiki manual pages

The link to /donate/ was previously picking up some content from our wordpress site hosted on the same domain.
This commit is contained in:
James Crook 2016-06-22 22:04:32 +01:00
parent 4c40a913b7
commit 5b7e9518e2
1 changed files with 2 additions and 1 deletions

View File

@ -799,7 +799,8 @@ def should_follow(url):
nurl = normalize_url(url)
droot = get_domain(config.rooturl)
dn = get_domain(nurl)
if droot != dn and not (dn.endswith(droot) or droot.endswith(dn)):
#if droot != dn and not (dn.endswith(droot) or droot.endswith(dn)):
if droot != dn:
if config.debug:
print url, 'not in the same domain'
return False