domain_name = ["sohu", "sina", "baidu", "lagou", "qichacha", "tianyancha", "qq.com", "163.com", "juzi.com",
"36kr", "cyzone", "qixin", "kanzhun", "liepin", "zhihu", "weibo", "apple", "zhaopin",
"baike"]
def filter_url(url):
for domain in domain_name:
if domain in url:
return
if filter_url("xy2.netease.com/thread"):
print("xy2.netease.com/thread")
domain_nameurl pass url