1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to across new line scraping in iMacros?

Discussion in 'Programming' started by bass, Jun 19, 2013.

  1. #1
    I try to scrape data from bestbuy.com with this command:

    macro2 += "TAG POS="+ i +" TYPE=H3 ATTR=itemprop:name* EXTRACT=TXT" + jsLF;


    And this is a source code:

    <h3 id="name_1218849839811" itemprop="name">




    <a rel="product" href="/site/Insignia%26%23153%3B+-+32%26%2334%3B+Class+(31-1/2%26%2334%3B+Diag.)+-+LED+-+720p+-+60Hz+-+HDTV/7521045.p?id=1218849839811&amp;skuId=7521045">
    Insignia™ - 32" Class (31-1/2" Diag.) - LED - 720p - 60Hz - HDTV</a></h3>

    However when I open a file and see on this column, I get a data following:

    "





    Dynex™ - 32"" Class (31-1/2"" Diag.) - LCD - 720p - 60Hz - HDTV"

    I want to know how to scrape with out " and new line.

    Thank you ....
     
    bass, Jun 19, 2013 IP