FredZhang7
commited on
Commit
•
e1d43de
1
Parent(s):
a9b6b41
change to None
Browse files- feature_extraction.py +3 -3
feature_extraction.py
CHANGED
@@ -461,9 +461,9 @@ def collect_data(url: str, is_malicious: bool):
|
|
461 |
age_of_domain_value = age_of_domain(w)
|
462 |
except Exception as e:
|
463 |
print('whois error: ' + str(e))
|
464 |
-
domain_registeration_length_value =
|
465 |
-
abnormal_url_value =
|
466 |
-
age_of_domain_value =
|
467 |
|
468 |
|
469 |
print(f"{url} took {time.time() - start_time} seconds to complete")
|
|
|
461 |
age_of_domain_value = age_of_domain(w)
|
462 |
except Exception as e:
|
463 |
print('whois error: ' + str(e))
|
464 |
+
domain_registeration_length_value = None
|
465 |
+
abnormal_url_value = None
|
466 |
+
age_of_domain_value = None
|
467 |
|
468 |
|
469 |
print(f"{url} took {time.time() - start_time} seconds to complete")
|