It is currently May 18th, 2024, 4:30 am

WebParser error when download image

Get help with creating, editing & fixing problems with skins
User avatar
XANCI
Posts: 104
Joined: September 18th, 2011, 6:37 am
Location: Nanjing, China

WebParser error when download image

Post by XANCI »

WebParser.dll: [MeasureP1] Download failed (result=0x800C000D, COM=0x00000000): "http://cdn.duitang.com/uploads/item/201201/20/20120120093346_2zRBC.jpg"

Code: Select all

[MeasureRSS]
Measure=Plugin
Plugin=WebParser.dll
URL=http://jandan.net/ooxx/feed
RegExp="(?siU)<item>.*<p><img src=(.*)/></p>.*</item>.*<item>.*<p><img src="(.*)" /></p>.*</item>"
UpdateRate=1800

[MeasureP1]
Measure=Plugin
Plugin=WebParser.dll
URL=[MeasureRSS]
StringIndex=1
Download=1
User avatar
jsmorley
Developer
Posts: 22633
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: WebParser error when download image

Post by jsmorley »

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1

[Variables]
Get=.*<item>.*<p><img src="(.*)".*</item>

[MeasureParent]
Measure=Plugin
Plugin=WebParser
Url=http://jandan.net/ooxx/feed
RegExp="(?siU)#Get##Get##Get##Get##Get#"
UpdateRate=600

[MeasureChild1]
Measure=Plugin
Plugin=WebParser
Url=[MeasureParent]
StringIndex=1
Download=1

[MeasureChild2]
Measure=Plugin
Plugin=WebParser
Url=[MeasureParent]
StringIndex=2
Download=1

[MeasureChild3]
Measure=Plugin
Plugin=WebParser
Url=[MeasureParent]
StringIndex=3
Download=1

[MeasureChild4]
Measure=Plugin
Plugin=WebParser
Url=[MeasureParent]
StringIndex=4
Download=1

[MeasureChild5]
Measure=Plugin
Plugin=WebParser
Url=[MeasureParent]
StringIndex=5
Download=1

[MeterImage1]
Meter=Image
MeasureName=MeasureChild1
X=2R
Y=0
W=100
PreserveAspectRatio=1
LeftMouseUpAction=!Execute ["[MeasureChild1]"]
DynamicVariables=1

[MeterImage2]
Meter=Image
MeasureName=MeasureChild2
X=2R
Y=0
W=100
PreserveAspectRatio=1
LeftMouseUpAction=!Execute ["[MeasureChild2]"]
DynamicVariables=1

[MeterImage3]
Meter=Image
MeasureName=MeasureChild3
X=2R
Y=0
W=100
PreserveAspectRatio=1
LeftMouseUpAction=!Execute ["[MeasureChild3]"]
DynamicVariables=1

[MeterImage4]
Meter=Image
MeasureName=MeasureChild4
X=2R
Y=0
W=100
PreserveAspectRatio=1
LeftMouseUpAction=!Execute ["[MeasureChild4]"]
DynamicVariables=1

[MeterImage5]
Meter=Image
MeasureName=MeasureChild5
X=2R
Y=0
W=100
PreserveAspectRatio=1
LeftMouseUpAction=!Execute ["[MeasureChild5]"]
DynamicVariables=1
3-14-2012 1-07-59 AM.jpg
I'm not sure what that error message you are getting is all about. You might try restarting Rainmeter to be sure WebParser isn't borked from repeated testing of your skin and see if that helps.
You do not have the required permissions to view the files attached to this post.
User avatar
spx
Developer
Posts: 686
Joined: August 15th, 2009, 2:41 pm
Location: Osaka, JPN

Re: WebParser error when download image

Post by spx »

0x800C000D is unknown protocol error. I think it's caused as the result of leading double quote. ("http)
User avatar
XANCI
Posts: 104
Joined: September 18th, 2011, 6:37 am
Location: Nanjing, China

Re: WebParser error when download image

Post by XANCI »

spx wrote:0x800C000D is unknown protocol error. I think it's caused as the result of leading double quote. ("http)
After tried jsmorley's RegExp all went fine