diff --git a/LunaTranslator/LunaTranslator/cishu/jisho.py b/LunaTranslator/LunaTranslator/cishu/jisho.py index e7fdaa6d..944b60bd 100644 --- a/LunaTranslator/LunaTranslator/cishu/jisho.py +++ b/LunaTranslator/LunaTranslator/cishu/jisho.py @@ -89,7 +89,13 @@ class jisho(cishubase): res = get_element_by_id("page_container", html) if res is None: return - res = res.replace('href="//', 'href="https://') + res = ( + res.replace('href="//', 'href="https://') + .replace("

Discussions

", "") + .replace( + 'Log in to talk about this word.', "" + ) + ) ss = re.search('href="https://assets.jisho.org/assets/application(.*)"', html) stl = requests.get(ss.group()[6:-1], proxies=getproxy()).text