MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / AbstractStore

Class AbstractStore

base/base_crawler.py:86–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84
85
86class AbstractStore(ABC):
87
88 @abstractmethod
89 async def store_content(self, content_item: Dict):
90 pass
91
92 @abstractmethod
93 async def store_comment(self, comment_item: Dict):
94 pass
95
96 # TODO support all platform
97 # only xhs is supported, so @abstractmethod is commented
98 @abstractmethod
99 async def store_creator(self, creator: Dict):
100 pass
101
102
103class AbstractStoreImage(ABC):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected