crawl

package
v0.0.0-...-a16a325 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2019 License: Unlicense Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const CRAWLERS int = 2
View Source
const Domain string = "youporn.com"
View Source
const Host string = SubDomain + "." + Domain
View Source
const Root string = Scheme + "://" + Host
View Source
const Scheme string = "http"
View Source
const SubDomain string = "www"
View Source
const UA string = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36"

Variables

View Source
var YPIDRegex *regexp.Regexp

Functions

func ExtractYPIDFromURL

func ExtractYPIDFromURL(url string) uint64

func IntegrateAndCrawl

func IntegrateAndCrawl(dump string)

IntegrateAndCrawl looks for changes in the dump file and once the content has been integrated start monitoring the website every hour

func VideoHandler

func VideoHandler(res *http.Response, location string) (ret []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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