import json
with open('/root/gov_crawler/daily_crawl_config.json', 'r') as f:
    config = json.load(f)
config['crawlers'].append({
    'name': '中环长青-公告公示栏',
    'script': 'crawl_zhcqhj.py',
    'args': '--incremental',
    'schedule': '0 8 * * *',
    'enabled': True,
})
config['count'] = len(config['crawlers'])
config['_count'] = config['count']
config['_更新日期'] = '2026-07-04'
with open('/root/gov_crawler/daily_crawl_config.json', 'w') as f:
    json.dump(config, f, ensure_ascii=False, indent=2)
print('Config updated, count:', config['count'])
