feat: 小红书笔记搜索,评论获取done

docs: update docs

Create .gitattributes

Update README.md
This commit is contained in:
NanmiCoder
2023-06-12 20:37:24 +08:00
committed by Relakkes
parent bca6a27717
commit e82dcae02f
20 changed files with 1548 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
from abc import ABC, abstractmethod
class Crawler(ABC):
@abstractmethod
def init_config(self, **kwargs):
pass
@abstractmethod
async def start(self):
pass
@abstractmethod
async def login(self):
pass
@abstractmethod
async def search_posts(self):
pass
@abstractmethod
async def get_comments(self, item_id: int):
pass