#!/usr/bin/env python3
import json

with open('daily_crawl_config.json', 'r') as f:
    cfg = json.load(f)

new_entry = {
    "name": "jtysj.jingmen.gov.cn-\u516c\u793a\u516c\u544a",
    "script": "crawl_jingmen_jtysj.py",
    "incremental": True,
    "args": "7",
    "sync_mode": "direct_server",
    "enabled": True,
    "group": "\u516c\u793a\u516c\u544a",
    "note": "\u8346\u95e8\u4ea4\u901a\u8fd0\u8f93\u5c40\u516c\u793a\u516c\u544a\uff0cHanweb\uff0c225\u6761\u51719\u9875\uff0chttp\u76f4\u63a5\u53d6"
}
cfg.append(new_entry)
with open('daily_crawl_config.json', 'w') as f:
    json.dump(cfg, f, ensure_ascii=False, indent=2)
print('Added. Total entries:', len(cfg))
