Skip to content

Instantly share code, notes, and snippets.

@aino-prashant
Created October 18, 2019 04:55
Show Gist options
  • Save aino-prashant/9084e772f6b294185041f1ea363c4507 to your computer and use it in GitHub Desktop.
Save aino-prashant/9084e772f6b294185041f1ea363c4507 to your computer and use it in GitHub Desktop.
Scrapper: File element
<target-source url="http://www.google.com/" web-browser="FIREFOX">
<execution-element type="flow">
<!-- file download completed -->
<execution-element type="file">
<action type="Unzip" src="downloaded/file/path" dest="new/path/" />
</execution-element>
<execution-element type="file">
<action type="delete" base-dir="new/path/" regex="" [except-regex="" ] />
</execution-element>
<execution-element type="file">
<action type="Copy" src="src/path/" dest="new/path/" />
</execution-element>
</execution-element>
</target-source>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment