Jump to content
Ketarin forum

Help with a broken rule


mikeparkie
 Share

Recommended Posts

One of my rules has broken and I cannot see why. Plainly obvious to most people but i'd appreciate a fix please, thanks in advance.

 

1. Intel SSD Toolbox

 

URL: http://downloadmirror.intel.com/18455/eng/{installer}

Variable 1 (installer):

 

Content from URL regex:

http://webcache.googleusercontent.com/search?q=cache:1Pzb2cG8e2IJ:downloadcenter.intel.com/detail_desc.aspx%3Fagr%3Dy%26dwnldid%3D18455

 

Regex: (Intel SSD Toolbox - v[\d\.]+.msi)

 

Variable 2 (version):

Content from URL regex:

http://webcache.googleusercontent.com/search?q=cache:1Pzb2cG8e2IJ:downloadcenter.intel.com/detail_desc.aspx%3Fagr%3Dy%26dwnldid%3D18455

 

Regex: Version:</div>v([\d\.]+)

Link to comment
Share on other sites

There's more than one way to skin a cat. :)

 

The following uses a google search to read the cached version number directly.

 

<?xml version='1.0' encoding='utf-8'?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="244a59ec-76a2-40b3-909b-cd8776201976">
   <WebsiteUrl />
   <UserAgent />
   <UserNotes />
   <LastFileSize>0</LastFileSize>
   <LastFileDate xsi:nil="true" />
   <IgnoreFileInformation>false</IgnoreFileInformation>
   <DownloadBeta>Default</DownloadBeta>
   <DownloadDate xsi:nil="true" />
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <VariableChangeIndicator />
   <CanBeShared>true</CanBeShared>
   <ShareApplication>false</ShareApplication>
   <ExclusiveDownload>false</ExclusiveDownload>
   <HttpReferer />
   <SetupInstructions />
   <Variables>
     <item>
       <key>
         <string>schangelog</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent />
           <Name>schangelog</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>swebsite</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>http://www.intel.com/support/go/ssdtoolbox/index.htm</TextualContent>
           <Name>swebsite</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>snotes</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <Name>snotes</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>v([\d\.]+)\.<[^>]+>msi</Regex>
           <PostData />
           <Url>http://www.google.com/search?q=http%3A%2F%2Fdownloadcenter.intel.com%2FDetail_Desc.aspx%3Fagr%3DY%26DwnldID%3D18455+file+name+intel+ssd+toolbox+msi</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
   <ExecuteCommandType>Batch</ExecuteCommandType>
   <ExecutePreCommandType>Batch</ExecutePreCommandType>
   <Category>Tools</Category>
   <SourceType>FixedUrl</SourceType>
   <DeletePreviousFile>true</DeletePreviousFile>
   <Enabled>true</Enabled>
   <LastUpdated xsi:nil="true" />
   <TargetPath>.\{category}\{appname:regexreplace:([\s\t\r\n\-\\&\/]+):_}-{version}.{url:ext}</TargetPath>
   <FixedDownloadUrl>http://downloadmirror.intel.com/18455/eng/Intel%20SSD%20Toolbox%20-%20v{version}.msi</FixedDownloadUrl>
   <Name>Intel SSD Toolbox</Name>
 </ApplicationJob>
</Jobs>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.