diff options
| author | Mistivia <i@mistivia.com> | 2025-10-28 02:49:59 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-10-28 02:49:59 +0800 |
| commit | b28614938fc82763779e77321c1fd756b43c9a12 (patch) | |
| tree | 66fb920e1f93f73dcd2e11a0fcd0af718b5fcbc6 /data/update.sh | |
| parent | d711cccffcd349db443ef1a094e3573cdd651f2b (diff) | |
update data, get default language from browser
Diffstat (limited to 'data/update.sh')
| -rw-r--r-- | data/update.sh | 4 |
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 |
