Attribute extractor added. HTML extractor added. Outer HTML Extractor added.

exporter package renamed to export, extractor package renamed to extract for simplicity.
This commit is contained in:
Musab Gültekin
2019-06-30 22:20:17 +03:00
parent 7c383b175f
commit 0eda056065
12 changed files with 115 additions and 31 deletions

View File

@ -13,7 +13,7 @@ import (
// Extractor interface is for extracting data from HTML document
type Extractor interface {
Extract(doc *goquery.Document) interface{}
Extract(doc *goquery.Document) (interface{}, error)
}
// Exporter interface is for extracting data to external resources.