Je hebt een klacht over de onderstaande posting:
Een zelf te implementeren oplossing vindt men hier: https://www.whoisxmlapi.com/blog/amplify-a-blacklist-with-the-typosquatting-data-feed-a-technical-blog typosquatting_data = pd.DataFrame(columns = ('groupno', 'dno','nmembers', 'domain', 'date')) directory = os.fsencode(TYPOSQUATTING_DIRECTORY) for file in os.listdir(directory): filename = os.fsdecode(file) if filename.endswith(".csv"): this_df = pd.read_csv(TYPOSQUATTING_DIRECTORY + \ os.sep + \ filename, names=('groupno', 'dno', 'nmembers', 'domain')) the_date = datetime.datetime.strptime(re.search(r'[0-9]..._[0-9]._[0-9].', filename).group(), '%Y_%m_%d') this_df['date'] = the_date typosquatting_data = typosquatting_data.append(this_df) else: continue #sockpuppet
Beschrijf je klacht (Optioneel):