mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 02:41:19 +02:00
remove tag
This commit is contained in:
parent
7152ec2e1a
commit
1f0d2ce724
@ -16,7 +16,6 @@ def banner():
|
|||||||
def cmd_parser():
|
def cmd_parser():
|
||||||
parser = OptionParser()
|
parser = OptionParser()
|
||||||
parser.add_option('--search', type='string', dest='keyword', action='store', help='keyword searched')
|
parser.add_option('--search', type='string', dest='keyword', action='store', help='keyword searched')
|
||||||
parser.add_option('--tag', type='string', dest='tag', action='store', help='dojinshi tag')
|
|
||||||
parser.add_option('--download', dest='is_download', action='store_true', help='download dojinshi or not')
|
parser.add_option('--download', dest='is_download', action='store_true', help='download dojinshi or not')
|
||||||
parser.add_option('--id', type='int', dest='id', action='store', help='dojinshi id of nhentai')
|
parser.add_option('--id', type='int', dest='id', action='store', help='dojinshi id of nhentai')
|
||||||
parser.add_option('--ids', type='str', dest='ids', action='store', help='dojinshi id set, e.g. 1,2,3')
|
parser.add_option('--ids', type='str', dest='ids', action='store', help='dojinshi id set, e.g. 1,2,3')
|
||||||
@ -38,10 +37,6 @@ def cmd_parser():
|
|||||||
if args.id:
|
if args.id:
|
||||||
args.ids = (args.id, ) if not args.ids else args.ids
|
args.ids = (args.id, ) if not args.ids else args.ids
|
||||||
|
|
||||||
if args.tag:
|
|
||||||
logger.critical(u'并没有做这个功能_(:3」∠)_')
|
|
||||||
raise SystemExit
|
|
||||||
|
|
||||||
if not args.keyword and not args.ids:
|
if not args.keyword and not args.ids:
|
||||||
parser.print_help()
|
parser.print_help()
|
||||||
raise SystemExit
|
raise SystemExit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user