i test url: http://hq.sinajs.cn/list=s_sz300787 is ok
i got error from log:
DBUG (09:44:06.982) STOCK_CN\company\stock_lvmeng.ini - [InfoStock1]: Fetching: http://hq.sinajs.cn/list=s_sz300787
ERRO (09:44:07.008) STOCK_CN\company\stock_lvmeng.ini - [InfoStock1]: (Fetch error) 找不到元素。 (ErrorCode=1168)
i cant resolve it now pls help me.thx
Code: Select all
[Rainmeter]
Author=blackjack550
AppVersion=2000000
Update=1000
[Metadata]
Description=The stock for China.
License=
Version=1.0.0
[Variables]
fontName=Tahoma
textSize=9
colorText=255,255,255,205
colordown=0,255,0,205
colorup=255,0,0,205
update.Spd=15
Quote="http://hq.sinajs.cn/list=s_sz300787"
[InfoStock1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
URL=#Quote#
RegExp="(?siU)var hq_str_(.*)="(.*),(.*),(.*),(.*),(.*),(.*)";"
CodePage=936
StringIndex=7
UpdateRate=#update.Spd#
[StockName]
Measure=Plugin
Plugin=Plugins\WebParser.dll
URL=[InfoStock1]
StringIndex=2
[PriceNow]
Measure=Plugin
Plugin=Plugins\WebParser.dll
URL=[InfoStock1]
StringIndex=3
[Change]
Measure=Plugin
Plugin=Plugins\WebParser.dll
URL=[InfoStock1]
StringIndex=4
[ChangeNet]
Measure=Plugin
Plugin=Plugins\WebParser.dll
URL=[InfoStock1]
StringIndex=5
[StockColorinfo]
Measure=Calc
Formula=Change
IfAboveValue=0
IfAboveAction=!Execute [!SetOption "LabelLastSale" "FontColor" "#colorup#"][!SetOption "LabelChange" "FontColor" "#colorup#"][!SetOption "LabelChangeNet" "FontColor" "#colorup#"][!SetOption "StockBar" "BarColor" "#colorup#"][!SetOption "StockBar" "Flip" "0"][!SetOption "LabelUpSymbols" "FontColor" "#colorup#"][!SetOption "LabelUpSymbols" "Text" "Ç"]
; ----------------------------------
[StyleStockName]
StringAlign=LEFT
StringCase=UPPER
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,205
FontColor=#colorText#
FontFace=微软雅黑
FontSize=12
AntiAlias=1
ClipString=1
[StyleChange]
StringAlign=LEFT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
;FontColor=#ColorStock#
FontEffectColor=0,0,0,205
FontFace=Swis721 Blk BT
FontSize=10
AntiAlias=1
ClipString=1
[styleBar]
BarOrientation=VERTICAL
SolidColor=255,255,255,5
[StyleDate]
StringAlign=LEFT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,205
FontColor=255,255,255,205
FontFace=#fontName#
FontSize=7
AntiAlias=1
ClipString=1
[StyleSymbols]
StringAlign=LEFT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,255
FontColor=195,195,195,205
FontFace=Wingdings 3
FontSize=14
AntiAlias=1
ClipString=1
; ----------------------------------
; METERS display images, text, bars, etc.
; ----------------------------------
[meterBackground]
Meter=IMAGE
X=0
Y=0
W=145
H=90
SolidColor=0,128,255,180
SolidColor2=0,64,128,150
[Symbols]
Meter=STRING
MeterStyle=StyleSymbols
text="P"
X=5
Y=55
W=50
H=30
;LeftMouseDownAction=!ActivateConfig "STOCK_CN" "stock_sh.ini"
[LabelStockName]
Meter=STRING
MeterStyle=StyleStockName
MeasureName=StockName
X=1
Y=10
W=80
H=50
[LabelLastSale]
Meter=STRING
MeterStyle=StyleStockName
MeasureName=PriceNow
X=30
Y=52
W=100
H=38
FontSize=15
FontColor=#colordown#
FontFace=Swis721 Blk BT
NumOfDecimals=2
[LabelChange]
Meter=STRING
MeterStyle=StyleChange
MeasureName=Change
X=20
Y=35
W=60
H=75
FontColor=#colordown#
NumOfDecimals=2
[LabelChangeNet]
Meter=STRING
MeterStyle=StyleChange
MeasureName=ChangeNet
X=70
Y=35
W=65
H=60
FontColor=#colordown#
NumOfDecimals=2
Text="%1%"
[StockBar]
Meter=BAR
MeterStyle=styleBar
MeasureName=measureChange
X=55
Y=10
W=5
H=40
BarColor=#colordown#
Flip=1
[LabelUpSymbols]
Meter=STRING
MeterStyle=StyleSymbols
X=80
Y=10
W=60
H=75
Text="È"
FontSize=14
FontColor=#colordown#