mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 08:33:36 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user