html

package
v0.6.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2019 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

HTML

Synopsys

SETTING TYPE REQUIRED DEFAULT VALUE
source_field string false ""
text hash false {}
size hash false {}
tag_on_failure array false []

Details

source_field
  • Value type is string
  • Default value is ""

Which field contains the html document

text
  • Value type is hash
  • Default value is {}

Add fields with the text of elements found with css selector

size
  • Value type is hash
  • Default value is {}

Add fields with the number of elements found with css selector

tag_on_failure
  • Value type is array
  • Default value is []

Append values to the tags field when the html document can not be parsed

Configuration blueprint

html{
	source_field => ""
	text => {}
	size => {}
	tag_on_failure => []
}

Documentation

Overview

Code generated by "bitfanDoc "; DO NOT EDIT

Index

Constants

View Source
const (
	// all events
	PORT_SUCCESS = 0
)

Variables

This section is empty.

Functions

func New

func New() processors.Processor

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL