This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from urllib.parse import urlparse | |
from tld import get_tld | |
from datetime import date, datetime | |
import re, ssl, socket, requests | |
import pandas as pd | |
import numpy as ny | |
import whois | |
# 1= legitimate, -1= phishing, 0 =suspicious |