objected knowledge base implement for email code structure

This commit is contained in:
tsukasa
2023-08-30 17:16:37 +08:00
parent aef15476b5
commit 39eb96f9e3
10 changed files with 180 additions and 13 deletions
+12
View File
@@ -0,0 +1,12 @@
import asyncio
from .spider import EmailSpider, EmailConverter
if __name__ == "__main__":
spider = EmailSpider("smtp.163.com","user","pwd","./email")
asyncio.run(spider.run())
converter = EmailConverter("./email",KnowledgeBase())
asyncio.run(converter.run())