Skip to content

Commit

Permalink
new host chapmanganato (#331)
Browse files Browse the repository at this point in the history
Adding support for chapmanganato.
Thanks @darodi.
  • Loading branch information
darodi committed Jan 8, 2023
1 parent 653b8a4 commit 113d4d9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,5 @@
- Added support for mangatoon.mobi [Fix for #246] [2022.04.19]
- Added support for mangadex.org [Fix for #195] [2022.04.19]
- Fix for #310 [2022.04.20]
- Added support for Qiremanhua [Fix for #193] [2022.04.23]
- Added support for Qiremanhua [Fix for #193] [2022.04.23]
- New host chapmanganato [#331] [2023.01.08]
1 change: 1 addition & 0 deletions Supported_Sites.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* [manganelo.com](https://manganelo.com/)
* [mangakakalot.com](https://mangakakalot.com/)
* [manganato.com](https://manganato.com/)
* [chapmanganato.com](https://chapmanganato.com/)
* [readmanganato.com](https://readmanganato.com/)
* [hqbr.com.br](https://hqbr.com.br/home)
* [comicextra.com](http://www.comicextra.com)
Expand Down
2 changes: 1 addition & 1 deletion comic_dl/__version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

__version__ = "2022.04.23"
__version__ = "2023.01.08"
2 changes: 1 addition & 1 deletion comic_dl/honcho.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ 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"]:
elif domain in ["manganelo.com", "mangakakalot.com", "manganato.com", "readmanganato.com", "chapmanganato.com"]:
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: 1 addition & 1 deletion comic_dl/sites/manganelo.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def single_chapter(self, manga_url, download_directory, conversion, keep_files,
breadcrumb_parts = breadcrumb.findAll('a')
comic_name = (breadcrumb_parts[1])['title']
chapter_number = (breadcrumb_parts[2]).find('span').text
else: # manganelo.com, manganato.com, readmanganato.com
else: # manganelo.com, manganato.com, readmanganato.com, chapmanganato.com
breadcrumb = source.find('div', {'class': 'panel-breadcrumb'})
breadcrumb_parts = breadcrumb.findAll('a')
comic_name = (breadcrumb_parts[1])['title']
Expand Down

0 comments on commit 113d4d9

Please sign in to comment.