Package com.ontometrics.scraper.extraction

Examples of com.ontometrics.scraper.extraction.DefaultFieldExtractor


    HtmlExtractor htmlExtractor = html().url(PagedListingTable.getUrl());

    List<Record> records = new ListingDetailScraper().setConvertURLs(true)
        .iterator(pageIterator)
        .listing(new LinkExtractor().source(htmlExtractor))
        .details(new DefaultFieldExtractor().source(htmlExtractor))
        .getRecords();

    assertThat(records.size(), greaterThan(0));

    log.debug("fields = {}", records);
View Full Code Here

TOP

Related Classes of com.ontometrics.scraper.extraction.DefaultFieldExtractor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.