From 4b18e2a8bf1e44ab3323f196e5d3fbaa66e36b24 Mon Sep 17 00:00:00 2001 From: Xonshiz Date: Tue, 10 Apr 2018 20:16:56 +0530 Subject: [PATCH] Fix for #119 Fixes #119 --- .gitignore | 1 + Changelog.md | 3 ++- comic_dl/exeMaker.bat | 2 +- comic_dl/honcho.py | 2 +- comic_dl/sites/mangaFox.py | 2 +- docs/Changelog.md | 3 ++- 6 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index e4e16f0..699b723 100644 --- a/.gitignore +++ b/.gitignore @@ -100,3 +100,4 @@ comic_dl/dist/upx394w/upx.1 comic_dl/dist/upx394w/upx.doc comic_dl/dist/upx394w/upx.html comic_dl/config.json* +comic_dl/build/__main__/localpycos/struct.pyo diff --git a/Changelog.md b/Changelog.md index 8494951..7c0d889 100644 --- a/Changelog.md +++ b/Changelog.md @@ -89,4 +89,5 @@ - Fix for #98 [2018.02.03] - Code Formatting [2018.02.03] - Added Support for [hqbr.com.br](https://hqbr.com.br/home) [2018.03.15] -- Added Support for [comicextra.com](http://www.comicextra.com/) [Fix for #116] [2018.03.23] \ No newline at end of file +- Added Support for [comicextra.com](http://www.comicextra.com/) [Fix for #116] [2018.03.23] +- Fix for #119 [2018.04.10] \ No newline at end of file diff --git a/comic_dl/exeMaker.bat b/comic_dl/exeMaker.bat index 02d7bd9..cb5e106 100644 --- a/comic_dl/exeMaker.bat +++ b/comic_dl/exeMaker.bat @@ -1 +1 @@ -pyinstaller --onefile --hidden-import=queue --icon="Logo.ico" "__main__.py" \ No newline at end of file +"C:\Python27\Scripts\pyinstaller" --onefile --hidden-import=queue --icon="Logo.ico" "__main__.py" \ No newline at end of file diff --git a/comic_dl/honcho.py b/comic_dl/honcho.py index 6c72697..c5523f8 100644 --- a/comic_dl/honcho.py +++ b/comic_dl/honcho.py @@ -117,7 +117,7 @@ class Honcho(object): chapter_range=chapter_range, conversion=kwargs.get("conversion"), delete_files=kwargs.get("delete_files")) return 0 - elif domain in ["www.mangafox.me", "mangafox.me", "www.mangafox.la", "mangafox.la"]: + elif domain in ["www.mangafox.me", "mangafox.me", "www.mangafox.la", "mangafox.la", "www.fanfox.net", "fanfox.net"]: mangaFox.MangaFox(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"), diff --git a/comic_dl/sites/mangaFox.py b/comic_dl/sites/mangaFox.py index 56bd64c..574a167 100644 --- a/comic_dl/sites/mangaFox.py +++ b/comic_dl/sites/mangaFox.py @@ -56,7 +56,7 @@ class MangaFox(object): for file_name in range(current_page_number, last_page_number + 1): # print("Actual file_name : {0}".format(file_name)) # http://mangafox.me/manga/colette_wa_shinu_koto_ni_shita/v03/c019/2.html - chapter_url = "http://mangafox.la/manga/" + str(series_code) + "/" + str( + chapter_url = "http://fanfox.net/manga/" + str(series_code) + "/" + str( current_chapter_volume) + "/%s.html" % str(file_name) logging.debug("Chapter Url : %s" % chapter_url) diff --git a/docs/Changelog.md b/docs/Changelog.md index 8494951..7c0d889 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -89,4 +89,5 @@ - Fix for #98 [2018.02.03] - Code Formatting [2018.02.03] - Added Support for [hqbr.com.br](https://hqbr.com.br/home) [2018.03.15] -- Added Support for [comicextra.com](http://www.comicextra.com/) [Fix for #116] [2018.03.23] \ No newline at end of file +- Added Support for [comicextra.com](http://www.comicextra.com/) [Fix for #116] [2018.03.23] +- Fix for #119 [2018.04.10] \ No newline at end of file