bot

package
v0.0.0-...-2e4743e Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Written by Efdal Sancak (aka z3ntl3)

github.com/z3ntl3

Disclaimer: Educational purposes only License: GNU

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObtainManifest

func ObtainManifest(body io.Reader) (string, error)

func StreamCore

func StreamCore(molyLink string) (*models.StreamData, error)

To obtain data rapidly about the vidmoly stream

Types

type Client

type Client struct {
	*http.Client
}

func NewClient

func NewClient(timeout time.Duration) *Client

func (*Client) DelProxy

func (c *Client) DelProxy()

func (*Client) GetManifest

func (c *Client) GetManifest(url string, init bool) (*ManifestCtx, error)

to unveil underlying m3u8 manifest

func (*Client) SetProxy

func (c *Client) SetProxy(proxyURI string) error

socks 4/5 or http proxy

type ManifestCtx

type ManifestCtx struct {
	Headers http.Header
	Raw     string
}

Jump to

Keyboard shortcuts

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