I'm using https://regex101.com/ to figure out if it's working, using a debug=2 dump of the html to test on. I get
Code: Select all
">(.*)<\/A>\n<\/PRE>\n<HR>\n<\/BODY>\n<\/HTML>
Thanks!
Code: Select all
">(.*)<\/A>\n<\/PRE>\n<HR>\n<\/BODY>\n<\/HTML>
Code: Select all
[Website]
Measure=Plugin
Plugin=WebParser
URL="ftp://ftp.nnvl.noaa.gov/GOES/GER/"
RegExp=jpg\">(.*)<\/A>\r\n<\/PRE>
[DownloadedImage]
Measure=Plugin
Plugin=WebParser
URL="ftp://ftp.nnvl.noaa.gov/GOES/GER/[Website]"
StringIndex=1
Download=1
[MyImage]
Meter=Image
MeasureName=DownloadedImage
I'm trying to use it as a background, so it's about the right size, actually they might be too small. thanks though!Brian wrote:Although there is probably more elegant ways to do this, it looks like your close, and may be missing a carriage return.
Try this:Probably need to scale the image down since those images are fairly big.Code: Select all
[Website] Measure=Plugin Plugin=WebParser URL="ftp://ftp.nnvl.noaa.gov/GOES/GER/" RegExp=jpg\">(.*)<\/A>\r\n<\/PRE> [DownloadedImage] Measure=Plugin Plugin=WebParser URL="ftp://ftp.nnvl.noaa.gov/GOES/GER/[Website]" StringIndex=1 Download=1 [MyImage] Meter=Image MeasureName=DownloadedImage
-Brian