aboutsummaryrefslogtreecommitdiff
path: root/data/update.sh
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-10-28 02:49:59 +0800
committerMistivia <i@mistivia.com>2025-10-28 02:49:59 +0800
commitb28614938fc82763779e77321c1fd756b43c9a12 (patch)
tree66fb920e1f93f73dcd2e11a0fcd0af718b5fcbc6 /data/update.sh
parentd711cccffcd349db443ef1a094e3573cdd651f2b (diff)
update data, get default language from browser
Diffstat (limited to 'data/update.sh')
-rw-r--r--data/update.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/update.sh b/data/update.sh
index 0826f15..f02f57b 100644
--- a/data/update.sh
+++ b/data/update.sh
@@ -5,13 +5,15 @@ rm cards.zip
python3 build-card-info.py
python3 split.py
cd yaml-yugi
-git pull
+proxychains -q git pull
cd ..
rsync -avz yaml-yugi/data/cards/ root@raye:/volume/webroot/cardtext/
python3 fetch-ocg-banlist.py
python3 fetch-tcg-banlist.py
python3 fetch-genesys.py > genesys
+proxychains -q curl https://raw.githubusercontent.com/DawnbrandBots/yaml-yugi-limit-regulation/refs/heads/master/data/master-duel/current.vector.json -o mdcurrent
+proxychains -q curl https://raw.githubusercontent.com/DawnbrandBots/yaml-yugi-limit-regulation/refs/heads/master/data/master-duel/$(cat mdcurrent) -o banlist-md.json
python3 genbanlist.py > ../src/ocg_banlist.json
python3 cn-genbanlist.py > ../src/cnocg_banlist.json