cyberdrop

package
v0.0.0-...-d2b513c Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package cyberdrop contains functions that can be used to accurately extract and validate Cyberdrop links.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delegate

func Delegate(res string) ([]string, error)

Delegate takes a string as an argument and returns a slice of valid Senvid links found within the response (if any) and an error

func Extract

func Extract(res string) ([]string, error)

Extract returns a slice of all Cyberdrop links contained within a string, if any.

func Validate

func Validate(x string) (bool, error)

Validate performs a GET request to the Cyberdrop URL and uses the response status code to identify its validity

Types

This section is empty.

Jump to

Keyboard shortcuts

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