Remove Post-processing Function

Remove Post-processing function can be used in agents to remove some text from extracted field result when we exactly know the start index and the number of character needs to be removed. For example, I have this scraping agent “Remove Function Example(Post-Processing)” in my account and I want to remove the text as Product from the field ProductName in each row. So, I can use the built-in Remove Post-processing function here.

Before

Steps

  1. Edit the scraping agent by clicking on the Edit tab

  2. Go to the field ProductName and click on the Edit field button

  3. Now, click on the Add post-processing button to add the Remove function, the below dialog box will appear

  4. Now enter the numeric values in the startIndex parameter (The StartIndex should be zero-based position to begin the deleting of characters)

  5. Then enter the numeric value in Count parameter.(The Count should be number of character to delete)

  6. Then Save the function and the scraping agent configuration

  7. And finally, re-run you agent to apply the changes.

After Remove Function

If you notice the screenshot below, the ProductName field is updated by the Remove Post-processing function.

Signup now to get 100 pages credit free

14 days free trial, no credit card required!