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

Method store_comment

store/xhs/_store_impl.py:55–61  ·  view source on GitHub ↗

store comment data to csv file :param comment_item: :return:

(self, comment_item: Dict)

Source from the content-addressed store, hash-verified

53 await self.writer.write_to_csv(item_type="contents", item=content_item)
54
55 async def store_comment(self, comment_item: Dict):
56 """
57 store comment data to csv file
58 :param comment_item:
59 :return:
60 """
61 await self.writer.write_to_csv(item_type="comments", item=comment_item)
62
63
64 async def store_creator(self, creator_item: Dict):

Callers

nothing calls this directly

Calls 1

write_to_csvMethod · 0.80

Tested by

no test coverage detected