Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareCmdForBgTask ¶ added in v1.1.3
Types ¶
type Config ¶
type Config struct { // DownloadPath will be used as the base path for all downloads DownloadPath string // FfmpegPath is the path to the FFmpeg binary FfmpegPath string // FfmpegWorkers is the number of parallel workers to use for FFmpeg // Note: Lower values are recommended due to diminishing returns // If none is provided, it will use the default value defined in constants.go FfmpegWorkers int // OverwriteFiles is a flag to overwrite existing files // If false, the download process will be skipped if the file already exists OverwriteFiles bool // Log any detected URLs of the post content that are being downloaded // Despite the variable name, it only logs URLs to any supported // external file hosting providers such as MEGA, Google Drive, etc. LogUrls bool // UserAgent is the user agent to be used in the download process UserAgent string }
Click to show internal directories.
Click to hide internal directories.