updated linkedin filtering.

This commit is contained in:
NotoriousRebel
2020-05-15 14:45:08 -04:00
parent e1e52fdd81
commit 87c2cb8a27
+3 -1
View File
@@ -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)