#!/usr/bin/env python3
import json
cfg = json.load(open("/root/gov_crawler/daily_crawl_config.json"))
for c in cfg["crawlers"]:
    if c["script"] == "crawl_jxlc.py":
        c["site_names"] = [
            "临川区人民政府-政策文件",
            "临川区人民政府-环境保护",
            "临川区人民政府-政府信息公开"
        ]
        c["note"] = "多栏目: 政策文件(6851)+环境保护(4684)+政府信息公开(951)"
        print(f"Updated: {c['name']}")
        break
with open("/root/gov_crawler/daily_crawl_config.json", "w", encoding="utf-8") as f:
    json.dump(cfg, f, ensure_ascii=False, indent=2)
print("Saved")
