Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix, stop chapters download when mangafox page doesn't contain images. #142

Merged
merged 2 commits into from
Jul 5, 2018

Conversation

darodi
Copy link
Contributor

@darodi darodi commented Jun 13, 2018

for example:

http://fanfox.net/manga/gunnm_mars_chronicle/c029.1/1.html

in that case, when using
__main__.py -a
comic-dl exits with an error.
I made changes to stop the download for that manga but continue processing the remaining comics/mangas

Copy link
Owner

@Xonshiz Xonshiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. But, could you please author your code? like "@darodi for fixing #IssueNumber". Makes it easier to see which section was worked on by whom and what it fixes/adds/updates.

@@ -37,11 +37,21 @@ def name_cleaner(self, url):
def single_chapter(self, comic_url, comic_name, download_directory, conversion, delete_files):
source, cookies_main = globalFunctions.GlobalFunctions().page_downloader(manga_url=comic_url)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. But, could you please author your code? like "@darodi for fixing #IssueNumber". Makes it easier to see which section was worked on by whom and what it fixes/adds/updates.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, the commit message has been changed.

darodi added a commit to darodi/comic-dl that referenced this pull request Jun 14, 2018
darodi added a commit to darodi/comic-dl that referenced this pull request Jun 14, 2018
darodi added a commit to darodi/comic-dl that referenced this pull request Jun 14, 2018
darodi added a commit to darodi/comic-dl that referenced this pull request Jul 2, 2018
darodi added a commit to darodi/comic-dl that referenced this pull request Jul 2, 2018
@Xonshiz Xonshiz merged commit cbfc05a into Xonshiz:master Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants