Struct youtube_dl::YoutubeDl [−][src]
pub struct YoutubeDl { /* fields omitted */ }
Expand description
A builder to create a youtube-dl
command to execute.
Implementations
Performs a search with the given search options.
Set the path to the youtube-dl
executable.
Set the -F
command line option.
Set the --flat-playlist
command line flag.
Set the --socket-timeout
command line flag.
Set the --user-agent
command line flag.
Set the --referer
command line flag.
Set the --all-formats
command line flag.
Set the -u
and -p
command line flags.
Specify a file with cookies in Netscape cookie format.
Set a process-level timeout for youtube-dl. (this controls the maximum overall duration
the process may take, when it times out, Error::ProcessTimeout
is returned)
Set the --extract-audio
command line flag.
Add an additional custom CLI argument.
This allows specifying arguments that are not covered by other configuration methods.
Run youtube-dl with the arguments specified through the builder.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for YoutubeDl
impl UnwindSafe for YoutubeDl
Blanket Implementations
Mutably borrows from an owned value. Read more