Check Regex Action

Discussion in 'A-Parser Support Forum' started by malphas, Sep 17, 2015.

  1. malphas

    malphas A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Jan 30, 2014
    Messages:
    6
    Likes Received:
    1
    Hi,

    Would it be possible to add an action for the "Check Regex" function?

    For example if the regex isn't matched on the page you could either:
    • Fail
    • Retry
    Obviously if there's a captcha I would want to retry. But in many situations I would want to fail that url completely.

    Thanks
     
  2. Support

    Support Administrator
    Staff Member A-Parser Enterprise

    Joined:
    Mar 16, 2012
    Messages:
    4,545
    Likes Received:
    2,163
    Check Regex function works like this: if it isn't matched, then the page is reloaded with another proxy, and so up to the specified number of Request retries. This is Retry.
    And if Request retries set 1, it will Fail.
     

Share This Page