From 87c2cb8a27086020ca3dd7bd193cd2525cab4841 Mon Sep 17 00:00:00 2001 From: NotoriousRebel Date: Fri, 15 May 2020 14:45:08 -0400 Subject: [PATCH] updated linkedin filtering. --- theHarvester/discovery/linkedinsearch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/theHarvester/discovery/linkedinsearch.py b/theHarvester/discovery/linkedinsearch.py index a3e10dce..11c5fb41 100644 --- a/theHarvester/discovery/linkedinsearch.py +++ b/theHarvester/discovery/linkedinsearch.py @@ -38,7 +38,9 @@ class SearchLinkedin: async def get_people(self): rawres = myparser.Parser(self.totalresults, self.word) - return await rawres.people_linkedin() + temp = await rawres.people_linkedin() + return [person for person in temp + if person[0] != '.' and '...' not in person and len(person.split()) != 1] async def get_links(self): links = myparser.Parser(self.totalresults, self.word)