feat: 增加软著内容

This commit is contained in:
zty 2024-11-15 14:14:52 +08:00
parent 70095e90bb
commit 56ec6d0d1b
1 changed files with 8 additions and 5 deletions

13
main.py
View File

@ -223,12 +223,15 @@ province_patterns = [
# 软件著作权奖
software_patterns = [
("软件名称", r"软件名称[:](.*?)"),
("证书号", r"证书号[:]([\w-]+)"),
("软件名称", r"软件名称[:](.*?)[^\u4e00-\u9fa5]\n"),
("著作权人", r"著[\s]*作[\s]*权[\s]*人[\s]*[:](.+?)\n",),
("开发完成日期", r"\d{4}\d{1,2}月\d{1,2}日"),
("首次发表日期", r"[:](.+?)"),
("权力取得方式", r"[:](.+?)"),
("登记号", r"登[\s]*记[\s]*号[:](.+?)"),
("开发完成日期", r"开发完成日期[:](.+?)\n"),
("首次发表日期", r"首次发表日期[:](.+?)\n"),
("权利取得方式", r"权利取得方式[:](.+?)\n"),
("权利范围", r"权利范围[:](.+?)\n"),
("登记号", r"登[\s]*记[\s]*号[:](.+?)\n"),
("颁发日期", r"\d{4}\d{1,2}月\d{1,2}日")
]
@app.post(