From 26f2e9ccb07dc46ba6bf5e6dd302aec0555f414d Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 1 Apr 2024 14:31:16 +0800 Subject: [PATCH] update to jiemiannew --- defs/model.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defs/model.py b/defs/model.py index b0ac5fb..259a0a8 100644 --- a/defs/model.py +++ b/defs/model.py @@ -23,6 +23,6 @@ class New: self.publish_time_human = strf_time(self.publish_time) self.title = data.get("title", "") self.summary = data.get("summary", "") - self.text = f"{self.title}\n\n{self.summary}\n\n{self.publish_time_human} | @jiemianNews" + self.text = f"{self.title}\n\n{self.summary}\n\n{self.publish_time_human} | @jiemianNew" self.img_urls = [img.get("thumb", "") for img in data.get("img_urls", [])] self.img_url = next((i for i in self.img_urls if i), "") diff --git a/requirements.txt b/requirements.txt index e80a019..aa24e8c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Pyrogram==2.0.35 +Pyrogram>=2.0.35 Tgcrypto>=1.2.3 httpx>=0.22.0 apscheduler>=3.8.1