Jump to content
Ketarin forum
  • Announcements

InG

If there is no URL for downloading

Recommended Posts

InG   

If there is no URL for downloading, downloading is performed by an external program in the Commands tab. What should I write in the URL field in such cases?

Example:

<?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="97fdc979-7d1d-4254-bc9c-ef875bb2c232">
    <WebsiteUrl />
    <UserAgent />
    <UserNotes />
    <LastFileSize>19328752</LastFileSize>
    <LastFileDate>2017-07-08T19:44:37.0352028</LastFileDate>
    <IgnoreFileInformation>true</IgnoreFileInformation>
    <DownloadBeta>Default</DownloadBeta>
    <DownloadDate xsi:nil="true" />
    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
    <VariableChangeIndicator>version</VariableChangeIndicator>
    <HashVariable />
    <HashType>None</HashType>
    <CanBeShared>true</CanBeShared>
    <ShareApplication>false</ShareApplication>
    <ExclusiveDownload>false</ExclusiveDownload>
    <HttpReferer />
    <SetupInstructions />
    <Variables>
      <item>
        <key>
          <string>version</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>RegularExpression</VariableType>
            <Regex>Daum PotPlayer (\d{1,2}\.\d{1,2}\.\d{1,4}) x86-x64</Regex>
            <Url>https://rutracker.org/forum/viewtopic.php?t=2143954</Url>
            <Name>version</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>url</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>RegularExpression</VariableType>
            <Regex>(magnet:\?xt=urn:btih:.+?)&tr=</Regex>
            <Url>https://rutracker.org/forum/viewtopic.php?t=2143954</Url>
            <TextualContent />
            <Name>url</Name>
          </UrlVariable>
        </value>
      </item>
    </Variables>
    <ExecuteCommand>nircmd.exe exec show {TC}\Utilites\uTorrent\uTorrent.exe /directory "{dir}\{category}\Daum PotPlayer\" {url}</ExecuteCommand>
    <ExecutePreCommand />
    <ExecuteCommandType>Batch</ExecuteCommandType>
    <ExecutePreCommandType>Batch</ExecutePreCommandType>
    <Category>Media</Category>
    <SourceType>FixedUrl</SourceType>
    <PreviousLocation>d:\AData\Progs\Media\Daum PotPlayer\PotPlayerSetup.exe</PreviousLocation>
    <DeletePreviousFile>true</DeletePreviousFile>
    <Enabled>true</Enabled>
    <FileHippoId />
    <LastUpdated>2017-07-08T19:44:37.0352028</LastUpdated>
    <TargetPath>{dir}\{category}\Daum PotPlayer\</TargetPath>
    <FixedDownloadUrl>{url}</FixedDownloadUrl>
    <Name>Daum PotPlayer (Torrent)</Name>
  </ApplicationJob>
</Jobs>

 

Share this post


Link to post
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


×