From e64c871aede3cb40d25408f08665970a44de61e7 Mon Sep 17 00:00:00 2001 From: thezak48 Date: Fri, 15 Dec 2023 17:41:13 +0000 Subject: [PATCH] feat(New Site Supported): :sparkles: lhtranslation.net --- README.md | 1 + manga_dl.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d589585..55a1ebc 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ This is designed to download manga's direct from ether - [kaiscans.com](https://kaiscans.com/) - [mangakaklot.com](https://mangakakalot.com/) - [webtoons.com](https://webtoons.com/) +- [lhtranslation.net](https://lhtranslation.net/) ## Usage diff --git a/manga_dl.py b/manga_dl.py index a96f9b3..e339dfc 100644 --- a/manga_dl.py +++ b/manga_dl.py @@ -65,7 +65,7 @@ def get_website_class(url: str): """Return the class for the website based on the URL.""" if "manhuaes.com" in url or "manhuaaz.com" in url: return MadraOld(log) - elif "manhuaus.com" in url or "mangaread.org" in url: + elif "manhuaus.com" in url or "mangaread.org" in url or "lhtranslation.net" in url: return MadraNew(log) elif "webtoons.com" in url: return Webtoons(log)