Skip to content

Commit

Permalink
Fix for #47
Browse files Browse the repository at this point in the history
Fix for #47
  • Loading branch information
Xonshiz committed Sep 24, 2017
1 parent d2d14d1 commit 1ff0399
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@
- Added support for CBZ file creation (#28) [2017.08.24]
- Added Support for [STRIP-UTOPIJA](http://striputopija.blogspot.in/) (#19) [2017.09.20]
- Fixed Major Bug in ReadComicOnline.to "Full Series" download section [2017.09.21]
- Added support for choosing image quality in ReadComicOnline.to (#42) [2017.09.21]
- Added support for choosing image quality in ReadComicOnline.to (#42) [2017.09.21]
- Fix for #47 [2017.09.24]
3 changes: 2 additions & 1 deletion Supported_Sites.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
* [mangahere.co](http://mangahere.co/)
* [raw.senmanga](http://raw.senmanga.com/)
* [omgbeaupeep.com](http://www.omgbeaupeep.com/)
* [ac.qq.com](http://ac.qq.com)
* [ac.qq.com](http://ac.qq.com)
* [striputopija.blogspot.si](http://striputopija.blogspot.si/)
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__ = "2017.09.21"
__version__ = "2017.09.24"
4 changes: 3 additions & 1 deletion comic_dl/sites/readcomicOnlineto.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ def __init__(self, manga_url, download_directory, chapter_range, **kwargs):

url_split = str(manga_url).split("/")

if len(url_split) in [5, 6]: # Sometimes, this value came out to be 6, instead of 5. Hmmmmmmmm weird.
if len(url_split) in [5]: # Sometimes, this value came out to be 6, instead of 5. Hmmmmmmmm weird.
# Removing "6" from here, because it caused #47
self.full_series(comic_url=manga_url.replace("&readType=1", ""), comic_name=self.comic_name,
sorting=self.sorting, download_directory=download_directory, chapter_range=chapter_range,
conversion=conversion, delete_files=delete_files)
Expand All @@ -41,6 +42,7 @@ def single_chapter(self, comic_url, comic_name, download_directory, conversion,

image_list = re.findall(r"lstImages.push\(\"(.*?)\"\);", str(source))


file_directory = str(comic_name) + '/' + str(chapter_number) + "/"

# directory_path = os.path.realpath(file_directory)
Expand Down
3 changes: 2 additions & 1 deletion docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@
- Added support for CBZ file creation (#28) [2017.08.24]
- Added Support for [STRIP-UTOPIJA](http://striputopija.blogspot.in/) (#19) [2017.09.20]
- Fixed Major Bug in ReadComicOnline.to "Full Series" download section [2017.09.21]
- Added support for choosing image quality in ReadComicOnline.to (#42) [2017.09.21]
- Added support for choosing image quality in ReadComicOnline.to (#42) [2017.09.21]
- Fix for #47 [2017.09.24]
3 changes: 2 additions & 1 deletion docs/Supported_Sites.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
* [mangahere.co](http://mangahere.co/)
* [raw.senmanga](http://raw.senmanga.com/)
* [omgbeaupeep.com](http://www.omgbeaupeep.com/)
* [ac.qq.com](http://ac.qq.com)
* [ac.qq.com](http://ac.qq.com)
* [striputopija.blogspot.si](http://striputopija.blogspot.si/)

0 comments on commit 1ff0399

Please sign in to comment.