mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-27 15:44:12 +08:00
.
This commit is contained in:
parent
3b133a7688
commit
7a1e917b39
@ -152,7 +152,7 @@ def getinfosbyvid(proxy, vid):
|
||||
sc=imgs,
|
||||
dev=dev,
|
||||
tags=sorted(tags, key=lambda x: -rates[tags.index(x)]),
|
||||
description=js["results"][0]['description']
|
||||
description=js["results"][0]["description"],
|
||||
)
|
||||
|
||||
|
||||
@ -380,5 +380,9 @@ class searcher(common):
|
||||
"imagepath_all": img + sc,
|
||||
"webtags": infos["tags"],
|
||||
"developers": infos["dev"],
|
||||
"description":infos['description']
|
||||
"description": (
|
||||
infos["description"].replace("\n", "<br>")
|
||||
if infos["description"]
|
||||
else None
|
||||
),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user