parsers

package
v0.0.0-...-c3a6988 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AniplayExtractor

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

func NewAniplayExtractor

func NewAniplayExtractor(baseURL string) *AniplayExtractor

func (*AniplayExtractor) FetchEpisode

func (a *AniplayExtractor) FetchEpisode(animeID string, ep string, host string, typ string) (map[string]interface{}, error)

func (*AniplayExtractor) GetNextAction

func (a *AniplayExtractor) GetNextAction() (map[string]string, error)

type DecryptedSources

type DecryptedSources struct {
	ID     string          `json:"id"`
	Type   string          `json:"type"`
	Link   StreamLink      `json:"link"`
	Tracks json.RawMessage `json:"tracks"`
	Intro  json.RawMessage `json:"intro"`
	Outro  json.RawMessage `json:"outro"`
	Iframe string          `json:"iframe"`
	Server string          `json:"server"`
}

func DecryptMegacloud

func DecryptMegacloud(episodeID, serverName, typ string) (DecryptedSources, error)

DecryptMegacloud resolves the Megacloud iframe and returns the decrypted sources.

func DecryptSourcesV1

func DecryptSourcesV1(epID string, id string, name string, typ string, fallback bool) (DecryptedSources, error)
type StreamLink struct {
	File string `json:"file"`
	Type string `json:"type"`
}

Jump to

Keyboard shortcuts

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