fix #73
This commit is contained in:
@ -238,6 +238,8 @@ class StringUtils:
|
|||||||
"""
|
"""
|
||||||
if not url:
|
if not url:
|
||||||
return ""
|
return ""
|
||||||
|
if 'u2.dmhy.org' in url:
|
||||||
|
return 'u2.dmhy.org'
|
||||||
_, netloc = StringUtils.get_url_netloc(url)
|
_, netloc = StringUtils.get_url_netloc(url)
|
||||||
if netloc:
|
if netloc:
|
||||||
return ".".join(netloc.split(".")[-2:])
|
return ".".join(netloc.split(".")[-2:])
|
||||||
|
Reference in New Issue
Block a user