-
public final class SqlManual
-
-
Constructor Summary
Constructors Constructor Description SqlManual()
-
Method Summary
Modifier and Type Method Description final Unitscrape()Load url if it's not in the database or it's expired, and then scrape the fields in the page, all fields are restricted in a page section specified by restrictCss, each field is specified by a css selectorexpire time: 1 day restrict css selector: lidata-sku css selectors for fields: .p-name em, . final UnitscrapeOutPages()final UnitrunAll()-
-
Method Detail
-
scrape
final Unit scrape()
Load url if it's not in the database or it's expired, and then scrape the fields in the page, all fields are restricted in a page section specified by restrictCss, each field is specified by a css selector
expire time: 1 day restrict css selector: lidata-sku css selectors for fields: .p-name em, .p-price
-
scrapeOutPages
final Unit scrapeOutPages()
-
-
-
-