Jump to content
Ketarin forum

Softpedia error 403 (Github errors also)


Myky777
 Share

Recommended Posts

I can't get most of my Softpedia apps to load, error 403. 2 weeks ago I saw on the forum about kuppet, but I am at a complete loss... I can get the window to open when not hidden, but it never can connect to a website and pull anything. I don't really even know if kuppet will fix the 403 error. I have the files in a subfolder BIN, but I can't get anything to work. I am just really at a loss... I'm not looking for a handout or just getting someone else's hard work, but could someone possibly show an example of 2 or 3 app entries?

(I wish the online database we could share more than one app. It helps beginners and please no offence, but the entries are quite basic, mostly version & url info. I think if we could show entire databases the community could really see how powerful Ketarin can be!)

Link to comment
Share on other sites

I find that with Kuppet it's more likely to be a system setting causing problems than the apps. The apps are almost identical to any other, with the only Kuppet difference being the "{>}" added to the beginning of the URLs you want processed by Kuppet.

I dont have any apps using softpedia but here's one that I use Kuppet for that also has the advanced delay option.

<?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="0baea9b7-6cb5-4b80-956c-31a42688a730">
    <Category>Tools</Category>
    <WebsiteUrl />
    <UserAgent />
    <UserNotes />
    <LastFileSize>33799</LastFileSize>
    <LastFileDate>2022-04-19T12:52:44.9008899</LastFileDate>
    <IgnoreFileInformation>false</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>true</ExclusiveDownload>
    <HttpReferer />
    <SetupInstructions />
    <Variables>
      <item>
        <key>
          <string>schangelog</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>https://kolbi.cz/blog/2017/11/10/setdefaultbrowser-set-the-default-browser-per-user-on-windows-10-and-server-2016-build-1607/</TextualContent>
            <Name>schangelog</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>swebsite</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>https://kolbi.cz/blog/2017/11/10/setdefaultbrowser-set-the-default-browser-per-user-on-windows-10-and-server-2016-build-1607/</TextualContent>
            <Name>swebsite</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>snotes</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>Version can not be accurately determined due to server-side blocking</TextualContent>
            <Name>snotes</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>spc</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>SetDefaultBrowser</TextualContent>
            <Name>spc</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>sdownload</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>https://kolbi.cz/SetDefaultBrowser.zip</TextualContent>
            <Name>sdownload</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>splatform</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>windows</TextualContent>
            <Name>splatform</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>sbits</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent />
            <Name>sbits</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>versionstub</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>RegularExpression</VariableType>
            <Regex>Version ([\d\.]+) </Regex>
            <PostData>redirection-delay=45</PostData>
            <Url>{&gt;}https://kolbi.cz/blog/2017/11/10/setdefaultbrowser-set-the-default-browser-per-user-on-windows-10-and-server-2016-build-1607/</Url>
            <TextualContent>{f:yyyy}{f:MM}{f:dd}</TextualContent>
            <Name>versionstub</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>LastUpdate</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>Get-Date -UFormat %Y%m%dT%H%M</TextualContent>
            <Name>LastUpdate</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>svendor</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>Christoph Kolbicz</TextualContent>
            <Name>svendor</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>LastVersion</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>1.5.0</TextualContent>
            <Name>LastVersion</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>versionshort</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>{versionstub}.0.0</TextualContent>
            <Name>versionshort</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>version</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>{versionshort:split:.:0}.{versionshort:split:.:1}.{versionshort:split:.:2}</TextualContent>
            <Name>version</Name>
          </UrlVariable>
        </value>
      </item>
    </Variables>
    <ExecuteCommand />
    <ExecutePreCommand>if "{version}"==".0.0" exit 1</ExecutePreCommand>
    <ExecuteCommandType>Batch</ExecuteCommandType>
    <ExecutePreCommandType>Batch</ExecutePreCommandType>
    <SourceType>FixedUrl</SourceType>
    <PreviousLocation>K:\_Ketarin\Ketarin\..\Tools\SetDefaultBrowser-1.5.0.zip</PreviousLocation>
    <DeletePreviousFile>true</DeletePreviousFile>
    <Enabled>true</Enabled>
    <FileHippoId />
    <LastUpdated>2022-04-19T12:52:44.9008899</LastUpdated>
    <TargetPath>..\{category}\{appname:regexreplace:([\s\t\r\n\-\&amp;]+):_}-{version}.{url:ext}</TargetPath>
    <FixedDownloadUrl>{sdownload}</FixedDownloadUrl>
    <Name>SetDefaultBrowser</Name>
  </ApplicationJob>
</Jobs>

Looks at the "versionstub" variable for how the advanced redirection-delay works (via post-data).

If you have the global variables created correctly then you should have a "run_kuppet" variable and a ">" variable.

The ">" just tests to make sure that kuppet is running then passes the URL to the actual Kuppet service running on whatever post you assigned in the "run_kuppet" variable.

The "run_kuppet" variable tests for the process (PS) then STARTs the program with optional path and settings. If you changed the port on either it needs to be changed on both. If you didn't put kuppet.exe directly into the BIN folder beside ketarin.exe then you'll need to change the path. If you're using other advanced options (like changing the timeout) then it's important in the "run_kuppet" variable that parameters (port then timeout) be quoted together in the START command ("bin\kuppet.exe" "port timeout").

When I was first setting it up it was much easier to launch kuppet manually from a powershell prompt set to the path of the ketarin.exe file. This helps you ensure that you're using the correct path values in the START command. It also lets you see any errors and the debugging information if you have that enabled in the configuration file.

Please post your ">" and "run_kuppet" values and the full system paths for both kuppet.exe and ketarin.exe. We'll help you get it sorted.

 

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.