@echo off
set "myCity=beijing"
set "fileUTF8=%temp%\AQI.UTF8"
set "fileTMP=%temp%\AQI.TMP"
set "fileANSI=%temp%\AQI.ANSI"
wget -q "http://www.pm25x.com/city/%myCity%.htm" -O "%fileUTF8%"
sed -r "/rt-title/!d; s#.*(.*)(.*)
#\1 \2#" "%fileUTF8%" > "%fileTMP%" sed -r "/aqivalue/!d; s#.*>(.*)