url

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2021 License: BSD-1-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package url defines a plugin, which finds and extracts URLs from incoming chat data. It performs a HTTP lookup to the found URL and attempts to determine the page title of the link. This title is then returned to the channel from which the message came.

Index

Constants

View Source
const (
	TextDisplay         = "De link van %s toont: %s"
	TextYoutubeDuration = " (speelduur: %s)"
)

constants for this plugin

Variables

View Source
var Ignore = map[string]bool{
	"Imgur: The most awesome images on the Internet": true,
	"Imgur: The magic of the Internet":               true,
	"Tweakers":                                       true,
	"Privacy settings":                               true,
	"Cookies op AD.nl | AD.nl":                       true,
	"Cookies op Trouw.nl":                            true,
	"Cookies op gelderlander.nl | gelderlander.nl":   true,
	"Too Many Requests":                              true,
	"FOK.nl cookie-informatie":                       true,
}

Ignore is a map of title strings to ignore. Only exact matches will be ignored.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package youtube provides a minimal set of bindings for Youtube's Data API v3.
Package youtube provides a minimal set of bindings for Youtube's Data API v3.

Jump to

Keyboard shortcuts

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