mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [Onion] filter too many subdomain
This commit is contained in:
parent
b87707e8bc
commit
709d5487b8
1 changed files with 4 additions and 0 deletions
|
@ -224,6 +224,10 @@ if __name__ == "__main__":
|
|||
else:
|
||||
continue
|
||||
|
||||
# too many subdomain
|
||||
if len(domain.split('.')) > 5:
|
||||
continue
|
||||
|
||||
if not r_onion.sismember('month_onion_up:{}'.format(date_month), domain) and not r_onion.sismember('onion_down:'+date , domain):
|
||||
if not r_onion.sismember('onion_domain_crawler_queue', domain):
|
||||
print('send to onion crawler')
|
||||
|
|
Loading…
Reference in a new issue