Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileRegex ¶
CompileRegex - compiles various Collly filters such as URLFIlters, DomainFilters, etc.
func CreateMapFromValues ¶
func CreateMapFromValues(data map[string][]string) models.PropertyMap
CreateMapFromValues is used to convert a map into a PropertyMap which is JSONB in postgres
func ExtractTitleFromBody ¶
ExtractTitleFromBody is there because I could not parse it with Colly so There's a nice regexp, it works.
Types ¶
type TorCheckResult ¶
func CheckIfTorConnectionExists ¶
func CheckIfTorConnectionExists(torProxy string) (*TorCheckResult, error)
Click to show internal directories.
Click to hide internal directories.