ferret

package module
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 2

README

Ferret

Go Report Status Build Status Discord Chat Discord Chat Ferret release Apache-2.0 License

ferret

Try it! Docs CLI Test runner Web worker

What is it?

ferret is a web scraping system. It aims to simplify data extraction from the web for UI testing, machine learning, analytics and more.
ferret allows users to focus on the data. It abstracts away the technical details and complexity of underlying technologies using its own declarative language. It is extremely portable, extensible, and fast.

Read the introductory blog post about Ferret here!

Features
  • Declarative language
  • Support of both static and dynamic web pages
  • Embeddable
  • Extensible

Documentation is available at our website.

Different languages
  • Ferret for python. Pyfer

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance added in v0.15.0

type Instance struct {
	// contains filtered or unexported fields
}

func New added in v0.15.0

func New(setters ...Option) *Instance

func (*Instance) Compile added in v0.15.0

func (i *Instance) Compile(query string) (*runtime.Program, error)

func (*Instance) Drivers added in v0.15.0

func (i *Instance) Drivers() *drivers.Container

func (*Instance) Exec added in v0.15.0

func (i *Instance) Exec(ctx context.Context, query string, opts ...runtime.Option) ([]byte, error)

func (*Instance) Functions added in v0.15.0

func (i *Instance) Functions() core.Namespace

func (*Instance) MustCompile added in v0.16.0

func (i *Instance) MustCompile(query string) *runtime.Program

func (*Instance) MustExec added in v0.16.0

func (i *Instance) MustExec(ctx context.Context, query string, opts ...runtime.Option) []byte

func (*Instance) MustRun added in v0.16.0

func (i *Instance) MustRun(ctx context.Context, program *runtime.Program, opts ...runtime.Option) []byte

func (*Instance) Run added in v0.16.0

func (i *Instance) Run(ctx context.Context, program *runtime.Program, opts ...runtime.Option) ([]byte, error)

type Option added in v0.16.0

type Option func(opts *Options)

func WithoutStdlib added in v0.16.0

func WithoutStdlib() Option

type Options added in v0.16.0

type Options struct {
	// contains filtered or unexported fields
}

func NewOptions added in v0.16.0

func NewOptions(setters []Option) *Options

Jump to

Keyboard shortcuts

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