cd /root/gov_crawler
cp -n crawl_dawu.py Archive/crawl_dawu.py.bak_20260925_https 2>/dev/null
python3 -c "import sqlite3;c=sqlite3.connect('file:/root/search.db?mode=ro',uri=True);print('跑前行数:',c.execute('SELECT COUNT(*) FROM gov_raw WHERE site_name LIKE \'%大悟%\' OR page_url LIKE \'%hbdawu%\'').fetchone()[0])"
timeout 120 python3 crawl_dawu.py 2>&1 | tail -5
python3 -c "import sqlite3;c=sqlite3.connect('file:/root/search.db?mode=ro',uri=True);print('跑后行数:',c.execute('SELECT COUNT(*) FROM gov_raw WHERE site_name LIKE \'%大悟%\' OR page_url LIKE \'%hbdawu%\'').fetchone()[0])"
