From 14f4bc1dc0084530a59aab94e0b0c45e394d92a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com>
Date: Sat, 28 Dec 2024 13:33:31 +0800
Subject: [PATCH] .
---
py/LunaTranslator/cishu/japandict.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/py/LunaTranslator/cishu/japandict.py b/py/LunaTranslator/cishu/japandict.py
index 04c9ed4b..6714f80a 100644
--- a/py/LunaTranslator/cishu/japandict.py
+++ b/py/LunaTranslator/cishu/japandict.py
@@ -32,6 +32,7 @@ class japandict(cishubase):
res = get_element_by("class", "list-group list-group-flush", html)
if not res:
return
+ res = re.sub('href="(.*?)"', 'href="https://www.japandict.com\\1"', res)
ts = []
styles = ''
for link in re.findall('href="(.*?)"', styles):