extractors

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extractor

type Extractor interface {
	Extract(url string) (*types.VideoSources, error)
}

Extractor is the interface that all extractors must implement

func GetExtractor

func GetExtractor(serverName string) Extractor

GetExtractor returns an appropriate extractor based on the server name or URL

type MegaCloudExtractor

type MegaCloudExtractor struct {
	// contains filtered or unexported fields
}

MegaCloudExtractor handles extraction from MegaCloud/VidCloud/UpCloud servers using crawlr.cc

func NewMegaCloudExtractor

func NewMegaCloudExtractor() *MegaCloudExtractor

NewMegaCloudExtractor creates a new MegaCloud extractor instance

func (*MegaCloudExtractor) Extract

func (m *MegaCloudExtractor) Extract(targetURL string) (*types.VideoSources, error)

Extract extracts video sources and subtitles from a MegaCloud embed URL using crawlr.cc This uses the external crawlr.cc service with provider ID mapping

type VidCloudExtractor

type VidCloudExtractor struct {
	Client *http.Client
}

VidCloudExtractor handles extraction from VidCloud/UpCloud/AkCloud servers using decrypt.broggl.farm

func NewVidCloudExtractor

func NewVidCloudExtractor() *VidCloudExtractor

NewVidCloudExtractor creates a new VidCloud extractor

func (*VidCloudExtractor) Extract

func (v *VidCloudExtractor) Extract(sourceURL string) (*types.VideoSources, error)

Extract extracts video sources from VidCloud/UpCloud/AkCloud URLs using decrypt.broggl.farm

Jump to

Keyboard shortcuts

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