Remove "<b>" tags from Google Related results?

Discussion in 'A-Parser Support Forum' started by scrapefun, Oct 24, 2022.

  1. scrapefun

    scrapefun A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Feb 24, 2015
    Messages:
    184
    Likes Received:
    34
    Is it possible to remove the "<b>" and "</b>" tags from the related keywords results in Google Parser?

    Currently I'm using this to extract the results:
    [% FOREACH p1.related -%]$key\n[% END %]

    But it contains the bold html tags.

    Not sure if it matters but for the parser settings I have two results files:
    [​IMG]

    Thanks.
     
    #1 scrapefun, Oct 24, 2022
    Last edited: Oct 24, 2022
    raual likes this.
  2. Support

    Support Administrator
    Staff Member A-Parser Enterprise

    Joined:
    Mar 16, 2012
    Messages:
    4,557
    Likes Received:
    2,167
    raual and scrapefun like this.
  3. scrapefun

    scrapefun A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Feb 24, 2015
    Messages:
    184
    Likes Received:
    34
    So simple! Works perfectly. Thanks.
     
    raual likes this.
  4. raual

    raual New Member

    Joined:
    Sep 22, 2022
    Messages:
    3
    Likes Received:
    0
    I wish you solved it
     
  5. scrapefun

    scrapefun A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Feb 24, 2015
    Messages:
    184
    Likes Received:
    34
    [​IMG]

    Click "add results builder" button and then from "source result" select whichever variable/source you want to strip html tags from. Then from "Type" select "Remove html tags"
     
    raual likes this.
  6. raual

    raual New Member

    Joined:
    Sep 22, 2022
    Messages:
    3
    Likes Received:
    0
    Great!
     

Share This Page