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:
parent
4c40a913b7
commit
5b7e9518e2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue