scrapper

package module
v0.0.0-...-795c19c Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

README

go-scrapper

Mostly a simple scrapper easy to integrate

TODO

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeAbs

func MakeAbs(u string, host string) string

MakeAbs add host to url

func MakeUrlsAbs

func MakeUrlsAbs(urls []string, origin string) []string

MakeUrlsAbs transform relative urls to absolute

func SimpleScrapper

func SimpleScrapper(url string) ([]string, error)

SimpleScrapper basic function, get url the url from pages and return Notas: Esto es un scrapper en su forma más general y válido para los casos donde se puede asumir que javascript/PHP no tiene que ver en la carga de la página, por eso se ignora el fragment en páginas dinámicas no se puede eliminar el fragmento de la url ya que se usa para modificar el contenido

Types

This section is empty.

Jump to

Keyboard shortcuts

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