Documentation
¶
Index ¶
Constants ¶
View Source
const ( YoutuybeUploadURL = "https://youtube.com/upload?persist_gl=1&gl=US&persist_hl=1&hl=en" YoutubeHomepageURL = "https://www.youtube.com/?persist_gl=1&gl=US&persist_hl=1&hl=en" BypassHeadlessScript = `` /* 1036-byte string literal not displayed */ )
Variables ¶
View Source
var DefaultBrowserCloseDuration = 1 * time.Second
View Source
var DefaultUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
Functions ¶
This section is empty.
Types ¶
type Cookie ¶
type Cookie struct {
Domain string `json:"domain"`
ExpirationDate float64 `json:"expirationDate"`
HostOnly bool `json:"hostOnly"`
HTTPOnly bool `json:"httpOnly"`
Name string `json:"name"`
Path string `json:"path"`
SameSite string `json:"sameSite"`
Secure bool `json:"secure"`
Session bool `json:"session"`
StoreID string `json:"storeId"`
Value string `json:"value"`
ID int `json:"id"`
}
type YtUploader ¶
type YtUploader struct {
Headless bool
// contains filtered or unexported fields
}
YtUploader presents an uploader
Click to show internal directories.
Click to hide internal directories.