Jump to content
Ketarin forum
  • Announcements

Sign in to follow this  
InG

Can not download "ReNamer"

Recommended Posts

Help to configure the download, Ketarin tries to download, but not to the end and pumps.

Link:

https://www.den4b.com/download/renamer/portable

 

Log:

06.07.2017 21:34:34: ReNamer: Replacing {url} in 'https://www.den4b.com{url}' with '/download/renamer/portable?key=5b5e95499d37952d7d0e2bb2932cb6b975ea0b828cb45d07'
06.07.2017 21:34:34: ReNamer: Using referer: https://www.den4b.com/products/renamer
06.07.2017 21:34:34: ReNamer: Server source file: /download/renamer/portable
06.07.2017 21:34:34: ReNamer: Determined target file name: d:\AData\Progs\TotalCommander\renamer-6.7.zip
06.07.2017 21:34:34: ReNamer: Using referer: https://www.den4b.com/products/renamer
06.07.2017 21:34:35: ReNamer: Using referer: https://www.den4b.com/products/renamer
06.07.2017 21:34:35: ReNamer: Using referer: https://www.den4b.com/products/renamer
06.07.2017 21:34:40: ReNamer: Using referer: https://www.den4b.com/products/renamer
06.07.2017 21:34:46: ReNamer: Using referer: https://www.den4b.com/products/renamer
06.07.2017 21:34:46: ReNamer: Failed, Ссылка на объект не указывает на экземпляр объекта.
06.07.2017 21:34:46: ReNamer: Replacing {url} in 'https://www.den4b.com{url}' with '/download/renamer/portable?key=42ca62b2208ae038888b160709ed573928334d7088c98038'
06.07.2017 21:34:46: ReNamer: Using referer: https://www.den4b.com/products/renamer
06.07.2017 21:34:46: ReNamer: Server source file: /download/renamer/portable
06.07.2017 21:34:46: ReNamer: Determined target file name: d:\AData\Progs\TotalCommander\renamer-6.7.zip
06.07.2017 21:34:46: ReNamer: Using referer: https://www.den4b.com/products/renamer
06.07.2017 21:34:47: ReNamer: Using referer: https://www.den4b.com/products/renamer
06.07.2017 21:34:47: ReNamer: Using referer: https://www.den4b.com/products/renamer
06.07.2017 21:34:48: ReNamer: Replacing {version} in '{version}' with '6.7'
06.07.2017 21:34:48: Update finished

 

XML:

<?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="0cd003ed-a552-432e-9adb-a31fb34a98ef">
    <WebsiteUrl />
    <UserAgent />
    <UserNotes />
    <LastFileSize>52931944</LastFileSize>
    <LastFileDate>2017-07-01T11:14:04.9876837</LastFileDate>
    <IgnoreFileInformation>true</IgnoreFileInformation>
    <DownloadBeta>Default</DownloadBeta>
    <DownloadDate>2016-11-19T15:38:23</DownloadDate>
    <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>(?<=Latest version: )(\d+\.\d+)</Regex>
            <Url>https://www.den4b.com/products/renamer</Url>
            <StartText><td class="product"><span class="product">AIDA64 Extreme </span><span class="packagetype">Trial version, self-installing EXE package</span></td>
            <td class="version"></StartText>
            <EndText></td></EndText>
            <Name>version</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>url</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>RegularExpression</VariableType>
            <Regex>If not, please click here to.+?(\/download\/renamer\/portable\?key=.+?)" id=</Regex>
            <Url>https://www.den4b.com/download/renamer/portable</Url>
            <Name>url</Name>
          </UrlVariable>
        </value>
      </item>
    </Variables>
    <ExecuteCommand />
    <ExecutePreCommand />
    <ExecuteCommandType>Batch</ExecuteCommandType>
    <ExecutePreCommandType>Batch</ExecutePreCommandType>
    <Category>TotalCommander</Category>
    <SourceType>FixedUrl</SourceType>
    <DeletePreviousFile>true</DeletePreviousFile>
    <Enabled>true</Enabled>
    <FileHippoId />
    <LastUpdated>2017-07-01T11:14:04.9876837</LastUpdated>
    <TargetPath>{dir}\{category}\</TargetPath>
    <FixedDownloadUrl>https://www.den4b.com{url}</FixedDownloadUrl>
    <Name>ReNamer</Name>
  </ApplicationJob>
</Jobs>

 

Share this post


Link to post
Share on other sites

I have tried to import your XML file, but this didn't work. Is this the exported XML file or did you edit it in an editor before?

I've solved the problem by removing some mispelled characters. Here is the newly created (now working) file.

<?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="0cd003ed-a552-432e-9adb-a31fb34a98ef">
    <Category>TotalCommander</Category>
    <WebsiteUrl />
    <UserAgent />
    <UserNotes />
    <LastFileSize>52931944</LastFileSize>
    <LastFileDate>2017-07-01T11:14:04.9876837</LastFileDate>
    <IgnoreFileInformation>true</IgnoreFileInformation>
    <DownloadBeta>Default</DownloadBeta>
    <DownloadDate>2016-11-19T15:38:23</DownloadDate>
    <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>(?&lt;=Latest version: )[0-9.]{2,}</Regex>
            <Url>https://www.den4b.com/products/renamer</Url>
            <Name>version</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>url</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <Url />
            <TextualContent>https://www.den4b.com{download}</TextualContent>
            <Name>url</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>download</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>RegularExpression</VariableType>
            <Regex>(/download/renamer/portable?[^"]*)</Regex>
            <Url>https://www.den4b.com/download/renamer/portable</Url>
            <TextualContent />
            <Name>download</Name>
          </UrlVariable>
        </value>
      </item>
    </Variables>
    <ExecuteCommand />
    <ExecutePreCommand />
    <ExecuteCommandType>Batch</ExecuteCommandType>
    <ExecutePreCommandType>Batch</ExecutePreCommandType>
    <SourceType>FixedUrl</SourceType>
    <PreviousLocation />
    <DeletePreviousFile>true</DeletePreviousFile>
    <Enabled>true</Enabled>
    <FileHippoId />
    <LastUpdated>2017-07-01T11:14:04.9876837</LastUpdated>
    <TargetPath>{dir}\{category}\</TargetPath>
    <FixedDownloadUrl>{url}</FixedDownloadUrl>
    <Name>ReNamer</Name>
  </ApplicationJob>
</Jobs>

 

Share this post


Link to post
Share on other sites
5 hours ago, necrox said:

I have tried to import your XML file, but this didn't work. Is this the exported XML file or did you edit it in an editor before?

Copied directly from the program

 

5 hours ago, necrox said:

I've solved the problem by removing some mispelled characters. Here is the newly created (now working) file.

So why does not it download?

Share this post


Link to post
Share on other sites

Does my script work?

You have exported the app from Ketarin as XML and copied the content here into the forum, right? Or have you tried to edit your XML file externally and re-import it to Ketarin?

I guess that the standard encoding was not set correctly. Would it be possible to add your exported XML file as attachment?

 

 

 

Share this post


Link to post
Share on other sites

Reset all settings and create the database again, added again the config Renamer and excellent start to download. In my xml code, there are some extra parts from the AIDA program. Some porridge in the database..... After what could this happen?

I copy the config directly from the program via CTRL + C.

Attached to the message my base

 

jobs.db

Share this post


Link to post
Share on other sites

It seems I understood why so many errors in the config, when I filled the database, I used cloning through CTRL + C, CTRL + V

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

Sign in to follow this  

×