(results: dict)
| 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') |
nothing calls this directly
no outgoing calls
no test coverage detected