• Resolved tingo

    (@tingo)


    Hi,
    I have in the scraped page an
    text
    The href would work fine as I correct the url towards an absolute one.
    The problem is the onclick.
    I tried to extend functions.php but it doesn’t give the desired result. Any hint?

    if(!empty($wpwsopt[‘basehref’]))
    $filtered_html = preg_replace(‘#onclick=”window.open\(\’#’,’onclick=”my_window.open(\’XXX’.$wpwsopt[‘basehref’],$filtered_html);

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Web Scraper] on-click’ is closed to new replies.