mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-06-06 23:49:46 +08:00
🐛 补充换行
This commit is contained in:
parent
887edb91c0
commit
3ed294e9fd
@ -319,7 +319,7 @@ async def _batch_push(request: Request, data: Dict):
|
|||||||
msg: List[Message] = []
|
msg: List[Message] = []
|
||||||
text_list: List[Tag] = list(soup.find_all('p'))
|
text_list: List[Tag] = list(soup.find_all('p'))
|
||||||
for text in text_list:
|
for text in text_list:
|
||||||
msg.append(MessageSegment.text(str(text)[3:-4]))
|
msg.append(MessageSegment.text(str(text)[3:-4] + '\n'))
|
||||||
|
|
||||||
img_tag: List[Tag] = list(soup.find_all('img'))
|
img_tag: List[Tag] = list(soup.find_all('img'))
|
||||||
for img in img_tag:
|
for img in img_tag:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user