update to jiemiannew
This commit is contained in:
parent
1e3c984751
commit
26f2e9ccb0
@ -23,6 +23,6 @@ class New:
|
|||||||
self.publish_time_human = strf_time(self.publish_time)
|
self.publish_time_human = strf_time(self.publish_time)
|
||||||
self.title = data.get("title", "")
|
self.title = data.get("title", "")
|
||||||
self.summary = data.get("summary", "")
|
self.summary = data.get("summary", "")
|
||||||
self.text = f"<b>{self.title}</b>\n\n{self.summary}\n\n{self.publish_time_human} | @jiemianNews"
|
self.text = f"<b>{self.title}</b>\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_urls = [img.get("thumb", "") for img in data.get("img_urls", [])]
|
||||||
self.img_url = next((i for i in self.img_urls if i), "")
|
self.img_url = next((i for i in self.img_urls if i), "")
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Pyrogram==2.0.35
|
Pyrogram>=2.0.35
|
||||||
Tgcrypto>=1.2.3
|
Tgcrypto>=1.2.3
|
||||||
httpx>=0.22.0
|
httpx>=0.22.0
|
||||||
apscheduler>=3.8.1
|
apscheduler>=3.8.1
|
||||||
|
Loading…
Reference in New Issue
Block a user