MCPcopy Create free account
hub / github.com/Tyaoo/picker / parse_pick

Method parse_pick

bot.py:120–127  ·  view source on GitHub ↗
(results: dict)

Source from the content-addressed store, hash-verified

118
119 @staticmethod
120 def parse_pick(results: dict):
121 text_list = []
122 for feed, articles in results.items():
123 text = f"[{today} 精选] " + feed + ":\n"
124 for title, link, issue_url in articles:
125 text += f' - [{title}]({link}) - [discussion]({issue_url})\n'
126 text_list.append((feed, text))
127 return text_list
128
129 def sign(self, timestamp):
130 secret_enc = self.secret.encode('utf-8')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected