update.sh 496 B

1234567891011121314
  1. curl https://ygocdb.com/api/v0/idChangelog.jsonp -o ../src/id_changelog.json
  2. curl https://ygocdb.com/api/v0/cards.zip -o cards.zip
  3. unzip cards.zip
  4. rm cards.zip
  5. python3 build-card-info.py
  6. python3 split.py
  7. python3 genbanlist.py > ../src/ocg_banlist.json
  8. python3 cn-genbanlist.py > ../src/cnocg_banlist.json
  9. python3 tcg-genbanlist.py > ../src/tcg_banlist.json
  10. python3 md-genbanlist.py > ../src/md_banlist.json
  11. rsync -avz ./card_db_parts/ root@raye:/volume/webroot/card_db_parts/
  12. cd ..
  13. sh deploy.sh