新华网热点

This commit is contained in:
2025-11-20 15:22:26 +08:00
parent d8533ae348
commit 9f56f4fd24
3 changed files with 114 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
人民日报搜索爬虫命令行工具
新华网搜索爬虫命令行工具
用法: python RmrbSearch.py --key "关键词" --total 10 --type 0
"""
@@ -20,7 +20,7 @@ from loguru import logger
def main():
"""主函数"""
parser = argparse.ArgumentParser(
description='人民日报新闻搜索工具',
description='新华网新闻搜索工具',
formatter_class=argparse.RawDescriptionHelpFormatter,
epilog="""
"""