Step 1: Download
Click on the link below to download the application (version 1.9).
Once downloaded, unzip the downloaded file, 80legsResultDownloader1.9.zip.
Step 2: Retrieve your Token (for Security)
The App requires a Token as a command-line input parameter. The Token is available at the top of the Results tab of your jobs (or click here for alternate instructions). Copy the "Token" value. It will be required to run the App, as detailed in the "How to..." section below.
How to Download Result Files
- Open a new shell or command-line prompt (in Windows, Linux, or Mac). Note: All platforms are supported, but Java 1.6 or above is required to run this application. You can download the latest version of Java from here.
- Use the following command to run the app:
java -jar 80legsResultDownloader.jar -token <Token> -downloadLocation <locationToOutputResultFilesTo>
The following additional parameters are optional:
-jobId <jobIdNumber> -analysisOnly <0 or 1> -archivedOnly <0 or 1> -unzip <0 or 1> -cpId <crawlPackageIdNumber> -resultType <XML or CSV or TSV> -ppcId <NUMBER> -postProcess <0 or 1>
When the app is run without the optional -jobId parameter, it will download all new result files currently in the account. When the app is run with the optional -jobId parameter, it will download all result files from the specified job.
When the app is run with the option -jobId and -cpId parameter, it will download all result files for the job in the specified crawl package.
When the app is run with the option -jobId and -latestCompletedRunOnly parameter, it will download all the results for the latest completed run.
When the app is run with the option -resultType parameter, it will download the analysis result file in the format specified. If no resultType is specified the default post processing format for the eighty app will be using. This only works if the job uses an 80app.
When the app is run with the option -ppcId parameter, the analysis result file will be in the format of the post processing code description. If ppcId is invalid, an exception will be thrown. Additionally, the -resultType parameter, will be ignored.
When the app is run without the -postProcess parameter, the post process results will be downloaded. If -postProcess 0 is provided, the .80 files will be downloaded.
(Optional) Retrieve or Modify your Token
You can retrieve or modify your Token by following these steps:
- Login to the 80legs Portal (http://portal.80legs.com) and navigate to My Account > Account Settings
- Scroll to "80legs Application and API Information" at the bottom of the page
- The "Token" value is your current token. You may also click on "Generate New" to generate a new token - note that this will expire the current token!
Change logs
Version
|
Release Date
|
Description |
1.0.1
|
7/29/2010
|
Initial Release 7/22/2010 |
1.0.2
|
9/20/2010
|
New Feature:
- -latestCompletedRunOnly <0 or 1> = Only downloads latest run in a repeating job (will only work with jobId)
|
| 1.3 |
10/7/2010
|
New Feature:
- If the -jobId is not provided with -cpId option, then all the new result files for the crawl package will be downloaded.
|
| 1.4 |
10/21/2010 |
Bug:
- If the post processing of a downloaded result file was unsuccessful, the timedownloaded is returned to original state before the result file was downloaded.
|
1.5
|
10/22/2010
|
Bug:
- Fix bug with latestCompletedRunOnly where it only downloads results for runs that are completed.
|
| 1.6 |
3/16/2011 |
Bug:
- Fix bug with not being able to download archived jobs.
|
| 1.7 |
3/31/2011 |
Using new version of api which uses Java built in Http connection class rather than socket connection. |
| 1.8 |
1/5/2012 |
New Feature:
- Add option to provide the format for the analysis result file by using -resultType. Options avalable are XML, CSV or TSV. This only works if the job uses an 80app or the jobs are from Crawl Packages.
|
| 1.9 |
3/25/2012 |
New Feature:
- Add option to provide the ppcId for the analysis result file by using -ppcId. The API checks if the ppcId is valid for the eighty app version that is used. ppcId is only used if an 80app is used to run the job.
|
Comments (0)
You don't have permission to comment on this page.