CybTekSol Posted March 30, 2009 Report Share Posted March 30, 2009 @FrancisoR, First, I agree that variables in the HTTP referrer would be a welcome addition to Ketarin. In this particular case, with PortableApps.com, I am not currently experiencing the problems you are describing and I do not use a referrer in my template for their apps. The only difference that I see with your app entry for 7-Zip and mine is that I do not add the ?download to the end of the FixedDownloadURL. Try removing this from your entries for PortableApps.com and see if it helps in the interim... before Flo adds this feature. Link to comment Share on other sites More sharing options...
FranciscoR Posted March 30, 2009 Report Share Posted March 30, 2009 (edited) Same stuff, =( and no such problem with FF. 30-03-2009 21:36:35: 7-zip Portable: Replacing {app} in 'http://downloads.sourceforge.net/portableapps/{app}.paf.exe' with '7-Zip_Portable_4.65' 30-03-2009 21:36:35: 7-zip Portable: Using referer: http://sourceforge.net/project/downloading.php 30-03-2009 21:36:50: 7-zip Portable: Failed, O tempo limite da operação expirou Actually, since my last post I have thought if a fix for this template... but nevertheless I think this is a welcome new feature and not only for templates. For instance, my VLC job chooses between different mirrors, if I get a timeout, Ketarin will use the second. If I had dynamic referers I would be able to achive the same with apps like the one above. Edited March 30, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
CybTekSol Posted March 30, 2009 Report Share Posted March 30, 2009 Using referer: http://sourceforge.net/project/downloading.php TRY REMOVING THE REFERER and check again... I just updated 50+ PortableApps.com entrys with NO failures (ALL without an HTTP referer AND without the ?download at the end of the FixedDownloadURL). Link to comment Share on other sites More sharing options...
FranciscoR Posted March 30, 2009 Report Share Posted March 30, 2009 (edited) I used to use it like that (like my original template available in the forum) but it doesn't work for me. --------------------------------------------- Right now I created a mirror variable, =) and check out the difference (and speed): 30-03-2009 22:02:31: 7-zip Portable: Replacing {app} in 'http://downloads.sourceforge.net/portableapps/{app}.paf.exe?use_mirror={mirror}' with '7-Zip_Portable_4.65' 30-03-2009 22:02:34: 7-zip Portable: Replacing {mirror} in 'http://downloads.sourceforge.net/portableapps/7-Zip_Portable_4.65.paf.exe?use_mirror={mirror}' with 'heanet' 30-03-2009 22:02:34: 7-zip Portable: Using referer: http://sourceforge.net/project/downloading.php 30-03-2009 22:02:35: 7-zip Portable: Server source file: /portableapps/7-Zip_Portable_4.65.paf.exe 30-03-2009 22:02:35: 7-zip Portable: Determined target file name: D:\Programas\Unpack\7-Zip_Portable_4.65.paf.exe 30-03-2009 22:02:35: 7-zip Portable: Checking if update is required... 30-03-2009 22:02:35: 7-zip Portable: Update not required, since date and file size remain unchanged 30-03-2009 22:02:36: 7-zip Portable: Replacing {version} in '{version}' with '4.65' Edited March 30, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
CybTekSol Posted March 30, 2009 Report Share Posted March 30, 2009 It must be related to your location as I get the same 5 second routine without all the frills... at some point it may become an issue for me. Can you post your refined template for PortableApps.com in the 'Templates section' at your convenience for those who may have a similar issue now? --------------------------------------------------------------------- 3/30/2009 4:14:41 PM: 7-Zip Portable (PortableApps.com): Replacing {download_url} in '{download_url}' with 'http://downloads.sourceforge.net/portableapps/7-Zip_Portable_4.65.paf.exe' 3/30/2009 4:14:41 PM: 7-Zip Portable (PortableApps.com): Using referer: (none) 3/30/2009 4:14:44 PM: 7-Zip Portable (PortableApps.com): Server source file: /portableapps/7-Zip_Portable_4.65.paf.exe 3/30/2009 4:14:45 PM: 7-Zip Portable (PortableApps.com): Replacing {version} in '{root_folder}\Utilities\Files & Folders\Compression-Decompression\7-Zip_Portable_v{version:replace: :_}.paf.exe' with '4.65' 3/30/2009 4:14:45 PM: 7-Zip Portable (PortableApps.com): Determined target file name: C:\DownLoad\Latest DownLoads\Utilities\Files & Folders\Compression-Decompression\7-Zip_Portable_v4.65.paf.exe 3/30/2009 4:14:45 PM: 7-Zip Portable (PortableApps.com): Checking if update is required... 3/30/2009 4:14:45 PM: 7-Zip Portable (PortableApps.com): Replacing {version} in '{version}' with '4.65' 3/30/2009 4:14:45 PM: 7-Zip Portable (PortableApps.com): Update not required, {version} has not changed 3/30/2009 4:14:46 PM: 7-Zip Portable (PortableApps.com): Replacing {version} in '{version}' with '4.65' Link to comment Share on other sites More sharing options...
FranciscoR Posted March 30, 2009 Report Share Posted March 30, 2009 (edited) Sure, I'll update template for those of us in this side of the Atlantic. =) As a matter of fact, I only started having this issue a month ago - or something -, it's a bit random. Today only 7-zip is afected. But I don't recommend this revision for newbies. Edited March 30, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
CybTekSol Posted April 2, 2009 Report Share Posted April 2, 2009 @FranciscoR, Apparently this is beginning to happen on this side of the Atlantic also. I've experienced difficulties since last night with PortableApps.com downloads. SourceForge appears to be experiencing intermittent issues with other apps for me also. Link to comment Share on other sites More sharing options...
FranciscoR Posted April 3, 2009 Report Share Posted April 3, 2009 Yesterday Sourceforge changed ALL DL URLs (not sure when I will be updating template, sorry). Mirror rotation is completely different at the moment, I wonder if they are tracking IP ? Link to comment Share on other sites More sharing options...
FranciscoR Posted April 3, 2009 Report Share Posted April 3, 2009 Anyway an easy fix for your jobs is to discover what mirror your using and add '?use_mirror=mirror' to the end of each <fixeddownloadURL> tag. Sourceforge seems more reliable now, =) but only a static strategy seems to work... =( Link to comment Share on other sites More sharing options...
CybTekSol Posted April 4, 2009 Report Share Posted April 4, 2009 but only a static strategy seems to work... =( That has been my experience lately, also. Link to comment Share on other sites More sharing options...
FranciscoR Posted April 4, 2009 Report Share Posted April 4, 2009 Confirmation, IP is tracked since the 1st of April: Link to comment Share on other sites More sharing options...
CybTekSol Posted April 5, 2009 Report Share Posted April 5, 2009 That definitely explains what is happening... glad you found this info FranciscoR. The challenge is how do we work around this new method of theirs with high reliability other than a static url approach? Link to comment Share on other sites More sharing options...
FranciscoR Posted April 5, 2009 Report Share Posted April 5, 2009 Are you experiencing errors with Sourceforge right now ? I don't. Link to comment Share on other sites More sharing options...
CybTekSol Posted April 5, 2009 Report Share Posted April 5, 2009 Are you experiencing errors with Sourceforge right now ? I don't. Unfortunately yes... it's still intermittent as of yesterday for me. Link to comment Share on other sites More sharing options...
FranciscoR Posted April 5, 2009 Report Share Posted April 5, 2009 Post some XML... I cannot help if I don't know what you're using. Link to comment Share on other sites More sharing options...
CybTekSol Posted April 5, 2009 Report Share Posted April 5, 2009 (edited) I'm still using the 'static' approach. I will have to wait until I have more time to address it... possibly later this week. If I'm lucky, it will sort itself out! Follow Up: Guess what FranciscoR? I just ran updates for ALL my apps hosted by SourceForge so I could post some XML for you and they ALL updated with NO FAILURES! WooooHoooo! Oh happy day! That's the easiest fix I've ever experienced with Ketarin... if only they all were that easy! I can only assume, the changes at SourceForge have now been fully implemented. Edited April 5, 2009 by CybTekSol Link to comment Share on other sites More sharing options...
FranciscoR Posted April 7, 2009 Report Share Posted April 7, 2009 (edited) @CybTekSol I'm using this template for Sourceforge (replacing PortableApps). However, I'm not crazy enought to support it =), feel free to use it, to move it... I'm abusing on placeholders with this one. <?xml version="1.0" encoding="utf-16"?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <DownloadBeta>Default</DownloadBeta> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex><placeholder name="Filename Start (for 'npp.5.3.1.bin.7z' use 'npp\.')" />(?\d+[\.\d+]+.*?)(?:<placeholder name="Filename End (for 'npp.5.3.1.bin.7z' use '\.bin\.7z')" value="\.paf\.exe|\.exe|\.zip|\.msi|\.7z" />))(?=")</Regex> <Url><placeholder name="Download Page Location" /></Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>mirror</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=<placeholder name="Filename Start (for 'npp.5.3.1.bin.7z' use 'npp\.')" />.*?"init_download\('http://downloads.sourceforge.net/)([^\s]+(?:<placeholder name="Filename End (for 'npp.5.3.1.bin.7z' use '\.bin\.7z')" value="\.paf\.exe|\.exe|\.zip|\.msi|\.7z" />)[^\s]+)'\)</Regex> <Url><placeholder name="Download Page Location" /></Url> <Name>mirror</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category><placeholder name="Category" value="Backup-Benchmark-Clean-Compress-Internet-Multimedia-Office-PDF-Recovery-Registry-Search-Security-Shell" /></Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <TargetPath><placeholder name="TargetPath" value="{target}\{category}\{appname}_{version}.{url:ext}" /></TargetPath> <FixedDownloadUrl>http://downloads.sourceforge.net/{mirror}</FixedDownloadUrl> <Name><placeholder name="AppName" /></Name> </ApplicationJob> </Jobs> Edited April 9, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
CybTekSol Posted April 9, 2009 Report Share Posted April 9, 2009 @CybTekSolI'm using this template for Sourceforge (replacing PortableApps). However, I'm not crazy enought to support it =), feel free to use it, to move it... I'm abusing on placeholders with this one. That's definitely interesting... I'll test it when I get a chance. I fully understand not wanting to support it! It's probably best not to post it in the template forum for that reason. Link to comment Share on other sites More sharing options...
FranciscoR Posted April 9, 2009 Report Share Posted April 9, 2009 All you have to do is to copy 'link text' (not 'link location'), insert filename start/end - use regex if needed - and you're ready to go. I updated placeholder text just a minute ago, it's more easy to understand now (I think). Sourceforge is a jungle, even with the 'insert DL URL' method (like Ghisler) I can't get a match with all jobs, that's why I prefer to use such a 'job helper'. It's compatible with Windows, Mac and Linux. Link to comment Share on other sites More sharing options...
CybTekSol Posted April 10, 2009 Report Share Posted April 10, 2009 All you have to do is to copy 'link text' (not 'link location'), insert filename start/end - use regex if needed - and you're ready to go. SWEET FranciscoR... I'll add it to my template arsenal. Do you want to support it now? Post it in the 'Templates section' if you are feeling froggy! LOL Link to comment Share on other sites More sharing options...
FranciscoR Posted April 10, 2009 Report Share Posted April 10, 2009 (edited) What because I changed placeholder text ? =) Thanks but no thanks. Have you noticed they changed HTML again ? I'm not tracking DLs, I'm tracking HTML ! Edited April 10, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
CybTekSol Posted April 10, 2009 Report Share Posted April 10, 2009 I was just trying to get a laugh out of you FranciscoR. As far as changes, I feel your pain quite frequently regarding what seems to be a plethora of changes to sites that I frequent lately. I spent 4 hours adjusting to changes at Mozilla yesterday and updating my Firefox and Thunderbird templates as a result of those changes. This is the third change of their site in 4 months. And on top of that, FreewareFiles.com banned my static IP again last night, so I am done with them! After contacting them and getting it fixed a few days ago, they banned me the first time I attempted to check their site for updates! Link to comment Share on other sites More sharing options...
FranciscoR Posted April 10, 2009 Report Share Posted April 10, 2009 Yep... I changed all my SF jobs 4 times since the begging of this week. Better to use redir page now. Template is obsolete. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now