Skip to content

Instantly share code, notes, and snippets.

@jbaker10
Created October 16, 2015 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbaker10/7f8da2d742e3bf84c3ed to your computer and use it in GitHub Desktop.
Save jbaker10/7f8da2d742e3bf84c3ed to your computer and use it in GitHub Desktop.
EndNote.download.recipe
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the current release version of EndNote.</string>
<key>Identifier</key>
<string>com.github.jbaker10.download.EndNote</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>EndNote</string>
</dict>
<key>MinimumVersion</key>
<string>0.5.0</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>URLTextSearcher</string>
<key>Arguments</key>
<dict>
<key>url</key>
<!--<string>http://endnote.com/downloads/available-updates</string>-->
<string>http://kbportal.thomson.com/display/2/kb/articleContent.aspx?view=&amp;docid=&amp;aid=129024&amp;n=0&amp;s=1&amp;fh=&amp;link=#</string>
<key>re_pattern</key>
<string>(?P&lt;url&gt;http://download.endnote.com/updates/17.0/EndNoteX74UpdateInstaller.zip)</string>
<key>result_output_var_name</key>
<string>url</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%.zip</string>
<key>url</key>
<string>%url%</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment