fix: 修复pr#229的小bug

This commit is contained in:
Relakkes 2024-04-13 13:48:29 +08:00
parent a341dc2aff
commit e367129b5f
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ async def main():
choices=["search", "detail", "creator"], default=config.CRAWLER_TYPE)
parser.add_argument('--start', type=int, help='crawler type (number of start page)',
default=config.START_PAGE)
parser.add_argument('--keyword', type=str, help='crawler type (please input keywords)',
parser.add_argument('--keywords', type=str, help='crawler type (please input keywords)',
default=config.KEYWORDS)
# init db
@ -54,7 +54,7 @@ async def main():
login_type=args.lt,
crawler_type=args.type,
start_page=args.start,
keyword=args.key
keyword=args.keywords
)
await crawler.start()