mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
.
This commit is contained in:
parent
3b133a7688
commit
7a1e917b39
@ -152,7 +152,7 @@ def getinfosbyvid(proxy, vid):
|
|||||||
sc=imgs,
|
sc=imgs,
|
||||||
dev=dev,
|
dev=dev,
|
||||||
tags=sorted(tags, key=lambda x: -rates[tags.index(x)]),
|
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,
|
"imagepath_all": img + sc,
|
||||||
"webtags": infos["tags"],
|
"webtags": infos["tags"],
|
||||||
"developers": infos["dev"],
|
"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