生成Telegram消息的标题部分 :param no: 期号 :return: 格式化的标题字符串
(no)
| 383 | return en_summary_file, en_content_meta |
| 384 | |
| 385 | def set_title(no): |
| 386 | """ |
| 387 | 生成Telegram消息的标题部分 |
| 388 | :param no: 期号 |
| 389 | :return: 格式化的标题字符串 |
| 390 | """ |
| 391 | tag = "#Python潮流周刊 \n\n" |
| 392 | title = f"🐱🐱🐱🐱 第 {no} 期 🐱🐱🐱🐱\n\n" |
| 393 | return tag + title |
| 394 | |
| 395 | def set_content_body(file_path, weekly_no, pub_date): |
| 396 | """ |