issues/674

This commit is contained in:
恍兮惚兮 2024-04-21 15:22:58 +08:00
parent 6a9bedc7da
commit e049a22d12

View File

@ -1,4 +1,4 @@
import re
import re, html
from translator.basetranslator import basetrans
@ -49,4 +49,4 @@ class TS(basetrans):
res = re.search(
'<div class="result-container">([\\s\\S]*?)</div>', response.text
).groups()
return res[0].replace("&quot;", '"')
return html.unescape(res[0])