Skip to content

Commit

Permalink
add chapmanganato.to (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
darodi committed Feb 10, 2024
1 parent 3c11c66 commit 62e47ea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 8 additions & 1 deletion comic_dl/honcho.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,14 @@ def checker(self, comic_url, download_directory, chapter_range, **kwargs):
comic_language=self.comic_language_resolver(comic_language),
print_index=print_index)
return 0
elif domain in ["manganelo.com", "mangakakalot.com", "manganato.com", "readmanganato.com", "chapmanganato.com"]:
elif domain in [
"manganelo.com",
"mangakakalot.com",
"manganato.com",
"readmanganato.com",
"chapmanganato.com",
"chapmanganato.to"
]:
manganelo.Manganelo(manga_url=comic_url, logger=logging, current_directory=current_directory,
sorting_order=sorting, log_flag=log_flag, download_directory=download_directory,
chapter_range=chapter_range, conversion=kwargs.get("conversion"),
Expand Down
2 changes: 2 additions & 0 deletions comic_dl/sites/manganelo.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ def full_series(self, comic_url, sorting, download_directory, chapter_range, con
all_links = chapter_list.findAll('a')
else: # manganelo.com, manganato.com, readmanganato.com
chapter_list = source.find('ul', {'class': 'row-content-chapter'})
if chapter_list is None:
raise Exception('no chapter found')
all_links = chapter_list.findAll('a')

chapter_links = []
Expand Down

0 comments on commit 62e47ea

Please sign in to comment.