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