mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
issues/674
This commit is contained in:
parent
6a9bedc7da
commit
e049a22d12
@ -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(""", '"')
|
||||
return html.unescape(res[0])
|
||||
|
Loading…
x
Reference in New Issue
Block a user