From 0b80458c6fcd1d4877bdc194ba75f40b28414818 Mon Sep 17 00:00:00 2001 From: myc1ou1d <92770704+myc1ou1d@users.noreply.github.com> Date: Mon, 11 Mar 2024 16:34:53 +0800 Subject: [PATCH] fix nhentai.net api sort option changed from popular to popular-all --- nhentai/cmdline.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nhentai/cmdline.py b/nhentai/cmdline.py index ad61f3e..2a65712 100644 --- a/nhentai/cmdline.py +++ b/nhentai/cmdline.py @@ -79,9 +79,9 @@ def cmd_parser(): help='all search results') parser.add_option('--page', '--page-range', type='string', dest='page', action='store', default='1', help='page number of search results. e.g. 1,2-5,14') - parser.add_option('--sorting', '--sort', dest='sorting', action='store', default='popular', - help='sorting of doujinshi (recent / popular / popular-[today|week])', - choices=['recent', 'popular', 'popular-today', 'popular-week', 'date']) + parser.add_option('--sorting', '--sort', dest='sorting', action='store', default='popular-all', + help='sorting of doujinshi (recent / popular-all / popular-[today|week])', + choices=['recent', 'popular-all', 'popular-today', 'popular-week', 'date']) # download options parser.add_option('--output', '-o', type='string', dest='output_dir', action='store', default='./',