Jump to content
Ketarin forum

necrox

Moderators
  • Posts

    263
  • Joined

  • Last visited

About necrox

Profile Information

  • Gender
    Male
  • Location
    Freiburg i. Br., Germany

Recent Profile Visitors

44,183 profile views

necrox's Achievements

  1. Hi, try something like this: Variable: version Contents from URL: https://regedix.webrox.fr Use regular expression: (?<=Regedix_installer-)([0-9.\-]{2,})(?=.exe) Variable: download Contents from URL: https://regedix.webrox.fr Use regular expression: (download.php[^']*\.exe) Variable: url Textual content: https://regedix.webrox.fr/{download}
  2. Hello and welcome! Yes, that's right. This will allow you to use it on a portable basis. By the way, this is an interesting use for Ketarin
  3. Wow! Long time no see Tomorrow! How are you? I think that's a very good idea. Please vote for this feature
  4. At which program does this message appear or where exactly does the update process stop? I've been getting a similar message for a few weeks when I try to download iTunes. The last few years the download has been working fine and suddenly there are problems (Ketarin crash with a similar message).
  5. And again after accidentally double-clicking on 'Browse' in the menu..
  6. I am completely gone from FH after the first time they screwed everything up a few years ago. I always download all my apps from the original site. It's a bit more cumbersome to set up the app. But after that you have to change the code every few years.
  7. I just tested it, and it works for me with https://anydesk.fr/downloads/windows Alternatively you can use the redirection from https://anydesk.fr/downloads/windows to https://anydesk.com/fr/downloads/windows But I think it's weird that this problem also occurs on other sites. Which version of Ketarin do you use? Otherwise pay attention whether a user agent is required and whether a referer is necessary for the download. Maybe this will fix the problem.
  8. For VSCode you also have to take look at the network traffic (start the page e.g. with Firefox and use CTRL+SHIFT+E to call the network analysis tools). Click on one of the download links to see that Microsoft points to the following unchanged paths for Windows downloads. So if you follow the links on the download page a bit, take a look at the referers and especially the answers of the requested addresses, you can quickly see that Microsoft refers to fixed addresses. I would guess that the following links will always refer to the current, stable version of the respective installer/archive for a long time .ZIP ARCHIVE: 32-bit: https://vscode-update.azurewebsites.net/latest/win32-archive/stable 64-bit: https://vscode-update.azurewebsites.net/latest/win32-x64-archive/stable alternative (you need the referer): Download link: https://aka.ms/win32-archive-stable With the following referer: https://code.visualstudio.com/docs/?dv=win32zip Download link: https://aka.ms/win32-x64-archive-stable With the following referer: https://code.visualstudio.com/docs/?dv=winzip USER INSTALLER: 32-bit: https://vscode-update.azurewebsites.net/latest/win32-user/stable 64-bit: https://vscode-update.azurewebsites.net/latest/win32-x64-user/stable alternative (you need the referer): Download link: https://aka.ms/win32-user-stable With the following referer: https://code.visualstudio.com/docs/?dv=win32user Download link: https://aka.ms/win32-x64-user-stable With the following referer: https://code.visualstudio.com/docs/?dv=win64user SYSTEM INSTALLER: 32-bit: https://vscode-update.azurewebsites.net/latest/win32/stable 64-bit: https://vscode-update.azurewebsites.net/latest/win32-x64/stable alternative (you need the referer): Download link: https://aka.ms/win32-stable With the following referer: https://code.visualstudio.com/docs/?dv=win32 Download link: https://aka.ms/win32-x64-stable With the following referer: https://code.visualstudio.com/docs/?dv=win64
  9. FOSSHub is a little more complicated. Here you need the right referer and the right POST data to tell the site which file you want to download. You can analyze the network traffic for example with Firefox (start the page with Firefox and use CTRL+SHIFT+E to call the network analysis tools). Click on one of the download links and as you can see on the screenshot you can trace which POST parameters need to be passed. The POST parameters can be found in the source code of the page (import the XML file, then you will know what I mean). By analyzing the network you know which parameters to pass. So we now also know which parameters we need from the source code of the page Converted to your directory structure it will look like this for MKVToolNix (just save it as XML and import it into Ketarin): <?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="4eb194ef-022c-4f26-9f6e-c65f1d7f8632"> <Category>Video Utilities</Category> <WebsiteUrl>https://www.fosshub.com/MKVToolNix.html</WebsiteUrl> <UserAgent>{UserAgent-64}</UserAgent> <UserNotes /> <LastFileSize>63148828</LastFileSize> <LastFileDate>2019-07-24T02:27:37.493154</LastFileDate> <IgnoreFileInformation>true</IgnoreFileInformation> <DownloadBeta>Avoid</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>softwareVersion.*?([\d\.{1,}]+)</Regex> <Url>{appdlpage}</Url> <StartText>&lt;dd itemprop="softwareVersion"&gt;</StartText> <EndText>&lt;/dd&gt;</EndText> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>referer</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>https://www.fosshub.com/MKVToolNix.html</TextualContent> <Name>referer</Name> </UrlVariable> </value> </item> <item> <key> <string>appdlpage</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <Url /> <TextualContent>https://www.fosshub.com/MKVToolNix.html</TextualContent> <Name>appdlpage</Name> </UrlVariable> </value> </item> <item> <key> <string>filename</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>"n":"(.+?)"</Regex> <Url>{appdlpage}</Url> <Name>filename</Name> </UrlVariable> </value> </item> <item> <key> <string>islatestversion</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>true</TextualContent> <Name>islatestversion</Name> </UrlVariable> </value> </item> <item> <key> <string>projectid</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>"projectId":"(.+?)"</Regex> <Url>{appdlpage}</Url> <Name>projectid</Name> </UrlVariable> </value> </item> <item> <key> <string>projecturi</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>"u":"(.+?)"</Regex> <Url>{appdlpage}</Url> <Name>projecturi</Name> </UrlVariable> </value> </item> <item> <key> <string>releaseid</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>"r":"(.+?)"</Regex> <Url>{appdlpage}</Url> <Name>releaseid</Name> </UrlVariable> </value> </item> <item> <key> <string>url</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{download}</TextualContent> <Name>url</Name> </UrlVariable> </value> </item> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(https[^"]*)"</Regex> <PostData>projectId=%7bprojectid%7d&amp;releaseId=%7breleaseid%7d&amp;projectUri=%7bprojecturi%7d&amp;fileName=%7bfilename%7d&amp;isLatestVersion=%7bislatestversion%7d</PostData> <Url>https://api.fosshub.com/download/</Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>7z x -y -mmt "{file}" -r -o"{startuppath}{category}" rmdir /Q /S "{startuppath}{category}\{appname}\doc\ca" rmdir /Q /S "{startuppath}{category}\{appname}\doc\de" rmdir /Q /S "{startuppath}{category}\{appname}\doc\es" rmdir /Q /S "{startuppath}{category}\{appname}\doc\ja" rmdir /Q /S "{startuppath}{category}\{appname}\doc\ko" rmdir /Q /S "{startuppath}{category}\{appname}\doc\licenses" rmdir /Q /S "{startuppath}{category}\{appname}\doc\nl" rmdir /Q /S "{startuppath}{category}\{appname}\doc\pl" rmdir /Q /S "{startuppath}{category}\{appname}\doc\uk" rmdir /Q /S "{startuppath}{category}\{appname}\doc\zh_CN" del "{startuppath}{category}\{appname}\doc\copying.txt" del "{startuppath}{category}\{appname}\doc\news.txt" del "{startuppath}{category}\{appname}\doc\readme.txt" copy "{startuppath}{category}\{appname}\locale\libqt\qt_en.qm" "{startuppath}{category}\{appname}\qt_en.qm" rmdir /Q /S "{startuppath}{category}\{appname}\locale" copy "{startuppath}{category}\{appname}\qt_en.qm" "{startuppath}{category}\{appname}\locale\libqt\qt_en.qm" del "{startuppath}{category}\{appname}\qt_en.qm" del /q /f "{file}"</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2019-07-24T02:27:37.493154</LastUpdated> <TargetPath>{startuppath}{category}\{appname}\</TargetPath> <FixedDownloadUrl>{url}</FixedDownloadUrl> <Name>MKVToolnix</Name> </ApplicationJob> </Jobs> As already written, the data that the browser (or Ketarin) should transmit to the download page (POST fields) is important here. Another working example is mp3DirectCut or Audacity. MKVToolNix.xml
  10. How about freely selectable hosts per download entry via self-defined variables? I mean that you can create several download variables and for each download you can define for the URL field that only one URL variable is used or two or three. If the first download link fails, go to the second or third. This would be handy to use downloads from the manufacturer's site, from Github or Fosshub, etc. For example, Fosshub sometimes blocks the download because of CloudFlare. If downloading is not possible try the next URL if set...
  11. For me, WireShark also works fine as a single download. But as soon as you establish further connections which also use CloudFlare, you are blocked. Unfortunately it doesn't help to run the 'CloudFlare' downloads one by one...
  12. Depending on the file extension: XCOPY *.TTF "%WINDIR%\Fonts" /S XCOPY *.OTF "%WINDIR%\Fonts" /S XCOPY *.TTC "%WINDIR%\Fonts" /S
×
×
  • 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.