Jump to content
Ketarin forum
  • Announcements

harryz

Download Adobe Flash and Reader fails from filehippo

Recommended Posts

Aloha!

 

I used to be able to download Adobe Flash and Reader from Filehippo using Ketarin with no problems. Sometime in the last month or two Filehippo changed so that if you try to download Flash or Reader you get redirected to 'get.adobe.com/flashplayer'. Obviously, Ketarin can't handle this (and I don't expect it to). But.. has anyone found another site to easily download the latest version of Flash and Reader using Ketarin? I did see a URL for a different download site in another post but it includes the version number, I would like something like filehippo where the url will always get me the latest (non-Beta) version.

 

Mahalo,

 

Harry Z.

Share this post


Link to post
Share on other sites

FileHippo is now redirecting to the Adobe site for these. You can download directly if you know the pattern used. I have a parser on one of my sites to automate the process of Flash and Air:

http://12pd.com/click?air

http://12pd.com/click?flash

http://12pd.com/click?flashie

But Adobe Reader operates a little differently. Here's a way to get Adobe Reader:

<?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="90cbcd3c-e217-48dc-aa4c-e5ac1023ccdc">
   <Category>Viewers</Category>
   <WebsiteUrl>http://get.adobe.com/reader</WebsiteUrl>
   <UserAgent>Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)</UserAgent>
   <UserNotes />
   <IgnoreFileInformation>false</IgnoreFileInformation>
   <DownloadBeta>Avoid</DownloadBeta>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <VariableChangeIndicator />
   <CanBeShared>false</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>http://kb2.adobe.com/cps/837/cpsid_83708.html</TextualContent>
	    <Name>schangelog</Name>
	  </UrlVariable>
    </value>
  </item>
  <item>
    <key>
	  <string>swebsite</string>
    </key>
    <value>
	  <UrlVariable>
	    <RegexRightToLeft>false</RegexRightToLeft>
	    <VariableType>Textual</VariableType>
	    <Regex />
	    <TextualContent>http://get.adobe.com/reader</TextualContent>
	    <Name>swebsite</Name>
	  </UrlVariable>
    </value>
  </item>
  <item>
    <key>
	  <string>snotes</string>
    </key>
    <value>
	  <UrlVariable>
	    <RegexRightToLeft>false</RegexRightToLeft>
	    <VariableType>Textual</VariableType>
	    <Regex />
	    <TextualContent />
	    <Name>snotes</Name>
	  </UrlVariable>
    </value>
  </item>
  <item>
    <key>
	  <string>spc</string>
    </key>
    <value>
	  <UrlVariable>
	    <RegexRightToLeft>false</RegexRightToLeft>
	    <VariableType>Textual</VariableType>
	    <Regex />
	    <TextualContent />
	    <Name>spc</Name>
	  </UrlVariable>
    </value>
  </item>
  <item>
    <key>
	  <string>version</string>
    </key>
    <value>
	  <UrlVariable>
	    <RegexRightToLeft>false</RegexRightToLeft>
	    <VariableType>RegularExpression</VariableType>
	    <Regex>tools/ReleaseNotes/\d+/(\d+[\d\.]+)\.html</Regex>
	    <Url>http://helpx.adobe.com/acrobat/release-note/release-notes-acrobat-reader.html</Url>
	    <Name>version</Name>
	  </UrlVariable>
    </value>
  </item>
   </Variables>
   <ExecuteCommand />
   <ExecutePreCommand />
   <ExecuteCommandType>Batch</ExecuteCommandType>
   <ExecutePreCommandType>Batch</ExecutePreCommandType>
   <SourceType>FixedUrl</SourceType>
   <DeletePreviousFile>true</DeletePreviousFile>
   <Enabled>true</Enabled>
   <TargetPath>.\{category}\{appname:regexreplace:([\s\t\r\n\-\\&\/]+):_}-{version}.{url:ext}</TargetPath>
   <FixedDownloadUrl>http://ardownload.adobe.com/pub/adobe/reader/win/{version:split:.:0}.x/{version}/en_US/AdbeRdr{version:replace:.:}_en_US.exe</FixedDownloadUrl>
   <Name>Adobe Reader</Name>
 </ApplicationJob>
</Jobs>

 

This required a slight change due to the behavior of the current release (version has a ".00" in it), but hopefully it'll work fine in the next build. If not, you'll need to modify the {fversion} value appropriately. You can determine the folder structure for Adobe aps by looking at the directory structure here, which equates to the web-accessible folder path in the FixedDownloadUrl variable above.

Edited by shawn
version parsing changes

Share this post


Link to post
Share on other sites

I'm hoping this isn't too ancient to be bringing back up, but I am not puting this job in the correct place? I do not do this intelligently this Ketarin since filehippo changed. I currently just go to the adobe ftp repo and download the newest now.

Share this post


Link to post
Share on other sites

Hi, Leo!

 

This is far from the oldest thread ever renewed around here. :)

 

If you copy the XML code in the block above and just focus on the Ketarin window you can paste (CTRL+V) the app profile in. It'll show up in your list with the title "Adobe Reader". Click it then click 'update' and it'll get the current english version full Adobe Reader download. I just updated the template to work with the current version patterns for Adobe Reader, too.

Share this post


Link to post
Share on other sites
Guest Aaron

Shawn, I also wanted to throw in my thanks for the ctrl-v trick, I'd made it work a few times by saving it to a file but that way is *so* much easier!

Share this post


Link to post
Share on other sites

<?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="0772f888-bb2e-45b0-a289-84071c97a27d">
<WebsiteUrl />
<UserAgent>Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0</UserAgent>
<UserNotes />
<LastFileSize>38273168</LastFileSize>
<LastFileDate>2012-12-20T12:08:15.3670844</LastFileDate>
<IgnoreFileInformation>false</IgnoreFileInformation>
<DownloadBeta>Default</DownloadBeta>
<DownloadDate xsi:nil="true" />
<CheckForUpdatesOnly>false</CheckForUpdatesOnly>
<VariableChangeIndicator />
<CanBeShared>true</CanBeShared>
<ShareApplication>false</ShareApplication>
<ExclusiveDownload>false</ExclusiveDownload>
<HttpReferer>http://get.adobe.com/reader/direct/</HttpReferer>
<SetupInstructions />
<Variables>
 <item>
 <key>
	 <string>version</string>
 </key>
 <value>
	 <UrlVariable>
	 <RegexRightToLeft>false</RegexRightToLeft>
	 <VariableType>StartEnd</VariableType>
	 <Regex />
	 <Url>http://get.adobe.com/reader/</Url>
	 <StartText>mainInstaller: "Reader_</StartText>
	 <EndText>_</EndText>
	 <Name>version</Name>
	 </UrlVariable>
 </value>
 </item>
 <item>
 <key>
	 <string>url</string>
 </key>
 <value>
	 <UrlVariable>
	 <RegexRightToLeft>false</RegexRightToLeft>
	 <VariableType>RegularExpression</VariableType>
	 <Regex>[^"'=]+win[^"']+\.exe</Regex>
	 <Url>http://get.adobe.com/reader/completion/?installer=Reader_{version}_{lang}_for_Windows</Url>
	 <Name>url</Name>
	 </UrlVariable>
 </value>
 </item>
 <item>
 <key>
	 <string>lang</string>
 </key>
 <value>
	 <UrlVariable>
	 <RegexRightToLeft>false</RegexRightToLeft>
	 <VariableType>Textual</VariableType>
	 <Regex />
	 <TextualContent>English</TextualContent>
	 <Name>lang</Name>
	 </UrlVariable>
 </value>
 </item>
</Variables>
<ExecuteCommand />
<ExecutePreCommand />
<ExecuteCommandType>Batch</ExecuteCommandType>
<ExecutePreCommandType>Batch</ExecutePreCommandType>
<Category />
<SourceType>FixedUrl</SourceType>
<PreviousLocation>Adobe_Reader_11.0.exe</PreviousLocation>
<DeletePreviousFile>true</DeletePreviousFile>
<Enabled>true</Enabled>
<FileHippoId />
<LastUpdated>2012-12-20T12:08:15.3670844</LastUpdated>
<TargetPath>{appname:replace: :_}_{version:replace: :_}.{url:ext}</TargetPath>
<FixedDownloadUrl>{url}</FixedDownloadUrl>
<Name>Adobe Reader</Name>
</ApplicationJob>
</Jobs>

Other version with language support.

Available language is here: http://get.adobe.com/reader/otherversions/

But some language is not available for latest version

Share this post


Link to post
Share on other sites
Guest Bruce

I can't get this one to work.  I've tried the Ctrl+V method....nothing happens.  When I try to import it as an XML, I receive the error:

 

Failed to import the file. There is an error in the XML document (1, 1894).

 

There don't appear to be any line feed or text wrapping issues that I can see.  I'm stumped.

Share this post


Link to post
Share on other sites
Guest Bruce

I finally found the problem.  Line 43 has a set of bold HTML tags (<b></b>) that Ketarin probably wasn't too happy with.  It worked fine after I removed them.

 

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


×