Skip to content

Commit

Permalink
feat(New Site Supported): ✨ topmanhua.com & manhuaus.org
Browse files Browse the repository at this point in the history
  • Loading branch information
thezak48 committed Dec 16, 2023
1 parent e64c871 commit 97396da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ This is designed to download manga's direct from ether
- [manhuaes.com](https://manhuaes.com/)
- [manhuaaz.com](https://manhuaaz.com/)
- [manhuaus.com](https://manhuaus.com/)
- [manhuaus.org](https://manhuaus.org/)
- [mangaread.org](https://mangaread.org/)
- [kaiscans.com](https://kaiscans.com/)
- [mangakaklot.com](https://mangakakalot.com/)
- [webtoons.com](https://webtoons.com/)
- [lhtranslation.net](https://lhtranslation.net/)
- [topmanhua.com](https://topmanhua.com)

## Usage

Expand Down
8 changes: 7 additions & 1 deletion manga_dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ 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 or "lhtranslation.net" in url:
elif (
"manhuaus.com" in url
or "manhuaus.org" in url
or "mangaread.org" in url
or "lhtranslation.net" in url
or "topmanhua.com" in url
):
return MadraNew(log)
elif "webtoons.com" in url:
return Webtoons(log)
Expand Down

0 comments on commit 97396da

Please sign in to comment.