mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-06-09 03:17:25 +08:00
feat: 抖音登录态检测逻辑更新支持
This commit is contained in:
@@ -56,13 +56,15 @@ class AbstractStore(ABC):
|
||||
async def store_creator(self, creator: Dict):
|
||||
pass
|
||||
|
||||
|
||||
class AbstractStoreImage(ABC):
|
||||
#TODO: support all platform
|
||||
# TODO: support all platform
|
||||
# only weibo is supported
|
||||
# @abstractmethod
|
||||
async def store_image(self, image_content_item: Dict):
|
||||
pass
|
||||
|
||||
|
||||
class AbstractApiClient(ABC):
|
||||
@abstractmethod
|
||||
async def request(self, method, url, **kwargs):
|
||||
@@ -71,7 +73,3 @@ class AbstractApiClient(ABC):
|
||||
@abstractmethod
|
||||
async def update_cookies(self, browser_context: BrowserContext):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
async def pong(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user