update missions with wasserbedarf

This commit is contained in:
2019-03-30 18:18:35 +01:00
parent 5f07041f33
commit 014c57c68b
504 changed files with 1468 additions and 1486 deletions

18
server/load_html_all.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
declare -i MP
declare -i MPP
echo "Last line of file specified as non-opt/last argument:"
MP=$1
MPP=$2
for i in $(seq $MP $MPP); do
curl -s -o "./missions/$i.html" "https://www.leitstellenspiel.de/einsaetze/$i"
html2text -utf8 -style pretty -width 100 -o "./missions/$i.text" "./missions/$i.html"
lynx --dump "./missions/$i.html" >"./missions/$i.txt"
sleep 2
done
php ./parse_html.php
php ./gen_js.php
php ./gen_missionjs.php