tubemeta

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 6 Imported by: 1

README

TubeMeta

Fetch Youtube metadata without Youtube Data API v3.

License

This project is under the MIT License

Documentation

Index

Constants

View Source
const (
	YOUTUBE_URL        = "https://www.youtube.com/channel/"
	YOUTUBE_CUSTOM_URL = "https://www.youtube.com/c/"
	YOUTUBE_USER_URL   = "https://www.youtube.com/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	Id          string   `json:"id"`
	Name        string   `json:"name"`
	Description string   `json:"description"`
	Avatar      string   `json:"avatar"`
	Banner      string   `json:"banner"`
	Url         string   `json:"url"`
	CustomUrl   string   `json:"custom_url"`
	Subscribers string   `json:"subscribers"`
	Views       string   `json:"views"`
	CreatedAt   string   `json:"created_at"`
	Verified    bool     `json:"verified"`
	Live        bool     `json:"live"`
	Videos      string   `json:"videos"`
	Socials     []string `json:"socials"`
}

func GetChannel

func GetChannel(channelId string) (*Channel, error)

Jump to

Keyboard shortcuts

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