This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sqlite3 | |
import re | |
from pathlib import Path | |
# ==== 自定义参数 ==== | |
# 1. Zotero 数据库路径(一般在 Users 目录下) | |
ZOTERO_DB_PATH = Path("C:/Users/Zotero/zotero.sqlite") | |
# 2. 设置要提取的高亮颜色(需转换为Zotero使用的颜色代码) | |
TARGET_COLOR = "#ffd400" |