Web Email Extractor Command Line Options

It is possible to perform Web Email Extractor commands from the command line. To launch the program at a specified time, you can use "Windows Task Scheduler", or any other scheduler, controlling the launch parameters from command line. Possible key prefixes are "-" and "/".

Syntax:

WebEmailExtractor.exe [projectfilename] [-dr] [-dt] [-rt] [-rft] [-at"filename"] [-aiv"control name, filename"] [-s] [-ddr] [-fr] [-fr"column name 1{criteria index 1}value 1{Condition 1}[;column name n{criteria index n}value n{Condition n}]"] [-qe] [-qe"filename"] [-eft"filename"] [-ex]

Option Command
projectfilename File name of the project (*.weepr) to open.
-dr Delete all results
-dt Delete all URLs
-rt Reset all URLs
-rft Reset failed URLs
-ret Reset empty URLs
-at"filename" Add new URLs from file, filename - name of the csv or txt file that contains URLs separated by newlines.
-aiv"control name,file name" Add new input values from file, control name - name or id of the input tag, filename - name of the csv or txt file that contains input values separated by newlines.
-s Start project
-ddr Delete duplicate records
-fr Filter results. The program will filter results, using the results filter, which was the last to be used in the project. If the results filter has never been used, then this function is not available.
-fr"column name 1{criteria index 1}value 1{Condition 1}
[;column name n{criteria index n}value n{Condition n}]"
Filter results, criteria index: 0 - contains, 1 - does not contain, 2 - equals, 3 - does not equal, 4 - begins with, 5 - does not begin with, 6 - ends with, 7 - does not end with, 8 - is larger than, 9 - is less than;
condition: 0 - AND, 1 - OR
-qe Complete quick export. The program will export data, using the export configuration, which was the last to be executed in the project. If the project data has never been exported, then this function is not available.
-qe"filename" Complete quick export, filename - name of the new output file. The program will export data, using the export configuration, which was the last to be executed in the project. If the project data has never been exported, then this function is not available.
-eft"filename" Export failed URLs, filename - name of the output file (html, csv or txt).
-ex Exit when all URLs are downloaded.

Examples

To launch the program, then open the "myproject.weepr" project file, delete all previous results, reset all URLs, start the extraction process, export data and close the program, you should use the following command:

"C:\Program Files\Web Email Extractor\WebEmailExtractor.exe" "C:\Program Files\Web Email Extractor\myproject.weepr" -dr -rt -s -qe -ex

To launch the program, then open the "myproject.weepr" project file, delete all previous URLs, add new URLs from "urls.csv" file, start the extraction process, export data and close the program, you should use the following command:

"C:\Program Files\Web Email Extractor\WebEmailExtractor.exe" "C:\Program Files\Web Email Extractor\myproject.weepr" -dt -at"C:\Program Files\Web Email Extractor\urls.csv" -s -qe -ex

Note: The program will export data, using the export configuration, which was the last to be executed in the project. If the project has never been exported, then this function is not available.