Running a small skin to download an image from other-wordly (a tumblr page). I point the webparser to a random page on the tumblr (i.e.. http://other-wordly.tumblr.com/random) and apply a regex to find the static url for the image. With that, I run webparser again to download. But when I do, I get the "file cannot be opened" error.
That tells me that the file isn't downloading correctly. After some troubleshooting, I'm sure it's not in the regex, since a dummy MeterString ouputs a valid url for a random tumblr image file.
So...wassup?
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
[MeasureFindImage]
Measure=Plugin
Plugin=WebParser
UpdateRate=180000
Url=http://other-wordly.tumblr.com/random
RegExp=(?siU)"> <div> <img src="(.*)"
StringIndex=1
[MeasureDownloadImage]
Measure=Plugin
Plugin-WebParser
Url=[MeasureFindImage]
StringIndex=1
Download=1
[MeterDisplayImage]
Meter=IMAGE
MeasureName=MeasureDownloadImage
W=200
PreserveAspectRatio=1
[MeterTest]
Meter=String
MeasureName=MeasureFindImage
FontSize=20