From 6f20405f47c96ef230201785f75f373dd8e82b50 Mon Sep 17 00:00:00 2001 From: tbinavsl Date: Sun, 9 Sep 2018 23:38:30 +0200 Subject: [PATCH] adding gif support and fixing yet another english typo --- nhentai/doujinshi.py | 1 + nhentai/parser.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nhentai/doujinshi.py b/nhentai/doujinshi.py index 7ba970e..30eca39 100644 --- a/nhentai/doujinshi.py +++ b/nhentai/doujinshi.py @@ -11,6 +11,7 @@ from nhentai.utils import format_filename EXT_MAP = { 'j': 'jpg', 'p': 'png', + 'g': 'gif', } diff --git a/nhentai/parser.py b/nhentai/parser.py index 8d74549..f911c17 100644 --- a/nhentai/parser.py +++ b/nhentai/parser.py @@ -61,7 +61,7 @@ def login_parser(username, password): else: pages = 1 - logger.info('Your have %d favorites in %d pages.' % (count, pages)) + logger.info('You have %d favorites in %d pages.' % (count, pages)) if os.getenv('DEBUG'): pages = 1