Jump to content
Ketarin forum

kazso

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by kazso

  1. Here is my rapid "dirty" fix: http://drivehq.com/file/DFPublishFile.aspx/FileID1710652150/Keyp61h5pwiptuq/Ketarin-avoid-beta-working.zip This is only the exe file for Ketarin 1.6.1 RC1 (https://ketarin.org/forum/topic/696-ketarin-161-rc1) Basically i changed the FileHippo regex query with a hex editor I tried to compile the source to make a "proper" fix, but that didn't work with my VS2008 This is the original regex for FileHippo version: ((?<=\>Title:\<.*?\s)(?:\(?\d+?\.\d+?.*?)(?=\</td\>)|(?:[a-z]+?\s\d{1,2},\s\d{4})) And this is my "dirty" regex (had to match the length of the original query): ((?<=\<title\>..*?\s)(?:\(?\d+?\.\d+?.*?)(?=\s-\sTe)|(?:[a-z]+?\s\d{1,2},\s\d{4})) And the "proper" regex would be something like this: (?s)((?<=\>Title:\<.*?\s)(?:\(?\d+?\.\d+?.*?)(?=\</span\>)|(?:[a-z]+?\s\d{1,2},\s\d{4})) This regex query can be found in the ExternalServices.cs file in the source code. Ketarin loads the Technical tab to search for the version (http://www.filehippo.com/download_7-zip_64/tech/). In the previous FileHippo page layout all the technical info was in a single line and used tables (<td> </td>). In the current page layout all info is in seperate lines without tables (<span> </span>). Edit: I looked further into the source code to make it work with the 'avoid beta' option. Ketarin looks for filehippo.com/img/beta.gif on the page to determine if it's a beta version or not. Ofcourse with the new page layout FileHippo marks beta versions differently. Now it's marked with <span class="beta-text">BETA</span>. I managed to replace the original search string with ss="beta-text">BETA</span> (again, had to match the original string length). With this and the previous fix Ketarin works as intended. I uploaded the new file, which includes both fixes (or more like hacks ).
  2. Add it as a custom column (https://www.drivehq.com/file/DFPublishFile.aspx/FileID1710300865/Keydpitcl79dr14/ketarin_1.png -> https://www.drivehq.com/file/DFPublishFile.aspx/FileID1710300867/Keyp1lie1afx77q/ketarin_2.png) Add it to your download location (https://www.drivehq.com/file/DFPublishFile.aspx/FileID1711603113/Key8dj0kww547n8/Ketarin_4.png) Select it as your indicator for changes (https://www.drivehq.com/file/DFPublishFile.aspx/FileID1710300868/Keykb955b5wtpp8/ketarin_3.png)
  3. My current workaround for filehippo downloads: 1. Add a new variable called version 2. Select Regular Expression 3. Use the filehippo download url as the Content URL. For example http://www.filehippo.com/download_jre_32 for Java 32-bit 4. Use this regular expression: (?-s)title.+?\s([\d\.]+.+)\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.