Skip to content

Extract data

Hi,
i know how to extract data from site, but I have 2 questions:
1. can I make engine that only enter site, extract some text and save it? (0 forms)
2. where I can save extracted text?

Comments

  • look for #grabbed macro and "write file" in script manual.



  • andrzejekandrzejek Polska
    edited August 2015
    Maybe this can work

    [setup]
    enabled=1
    default checked=0

    engine type=extract
    description=
    dofollow=0
    anchor text=0
    creates own page=0
    uses pages=1
    posted domain check=2
    keep subdomain=domain.com


    [STEP1]
    just download=1
    verify submission=2
    [STEP2]
    just download=1
    write file=“C:\temp\accounts.txt” “#grabbed\n”


    Assuming the webpage has a title like “Welcome to my Forum” and your xgrab.txt file has something defined like “<title>[…]</title>” you get that output.
Sign In or Register to comment.