求教大佬天气代码怎么改
rainmeter吧
全部回复
仅看楼主
level 1
这个代码我想把天气改成杭州的,该怎么改呀
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=http://xml.weather.com/weather/local/#WeatherCodeLocation#?cc=*&unit=#WeatherUnit#&dayf=6
RegExp="(?siU)<weather ver="(.*)">(.*)<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)"
StringIndex=1
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]
;Debug=1
2018年01月04日 04点01分 1
level 9
杭州在weather。com的城市代码是 CHXX0044,你搜索一下你的代码,找到WeatherCodeLocation=XXXXX,将XXXX改成CHXX0044,或将你发的那个代码里的WeatherCodeLocation直接改成CHXX0044也行。另外说一句,weather。com里的国内天气貌似并不准!
2018年01月04日 08点01分 2
谢谢大佬,我去试试
2018年01月05日 13点01分
大佬,怎么在天气网里看到地区的天气代码
2018年08月06日 02点08分
@晚风琢酒 打开城市天气网,网址中有几个连在一起的数字,那个就是。
2018年08月06日 02点08分
我去看看 谢谢大佬
2018年08月06日 10点08分
1