mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-01 22:04:51 +00:00
fix(light_novel): 修复样式
This commit is contained in:
parent
315246e695
commit
68fbb54c67
2 changed files with 4 additions and 3 deletions
|
|
@ -98,8 +98,8 @@ async def get_books():
|
||||||
"""
|
"""
|
||||||
# print(orders[7].text)
|
# print(orders[7].text)
|
||||||
with open(getcwd() + "/src/clover_lightnovel/output1.html", 'w', encoding='utf-8') as file:
|
with open(getcwd() + "/src/clover_lightnovel/output1.html", 'w', encoding='utf-8') as file:
|
||||||
file.write(head + str(orders[7]).replace('(<a href="https://www.wenku8.net/zt/sugoi/2025.php"', '').replace(
|
file.write(head + str(orders[7]).replace("2025年春季新番原作抢先看!(", "2025年春季新番原作抢先看!").replace(
|
||||||
'target="_blank">查看 这本轻小说真厉害!2025 TOP榜单</a>)', '') + str(orders[8]) + str(orders[9]) + str(
|
'target="_blank">查看 这本轻小说真厉害!2025 TOP榜单</a>)', '></a>') + str(orders[8]) + str(orders[9]) + str(
|
||||||
orders[10]))
|
orders[10]))
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
from datetime import datetime, time
|
from datetime import datetime
|
||||||
|
import time
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import requests.exceptions
|
import requests.exceptions
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue