1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Join our Telegram chat: https://t.me/a_parser_en
    Dismiss Notice

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:
    164
    Likes Received:
    29
    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:
    3,927
    Likes Received:
    1,988
    raual and scrapefun like this.
  3. scrapefun

    scrapefun A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Feb 24, 2015
    Messages:
    164
    Likes Received:
    29
    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:
    164
    Likes Received:
    29
    [​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