C# Class YoutubeDownloader.FileDownloader

Show file Open project: ovnisoftware/Youtube-Downloader

Public Methods

Method Description
DownloadAudio ( YoutubeAudioModel audioModel ) : void
DownloadVideo ( YoutubeVideoModel vidDownloader ) : void
GetAudioDownloader ( YoutubeAudioModel audioModel ) : YoutubeExtractor.AudioDownloader
GetPath ( YoutubeModel model ) : string
GetVideoDownloader ( YoutubeVideoModel videoModel ) : YoutubeExtractor.VideoDownloader
GetVideoInfo ( YoutubeVideoModel videoModel ) : YoutubeExtractor.VideoInfo
GetVideoInfoAudioOnly ( YoutubeAudioModel audioModel ) : YoutubeExtractor.VideoInfo
GetVideoInfos ( YoutubeModel model ) : IEnumerable

Private Methods

Method Description
CleanFileName ( string fileName ) : string

Method Details

DownloadAudio() public static method

public static DownloadAudio ( YoutubeAudioModel audioModel ) : void
audioModel YoutubeAudioModel
return void

DownloadVideo() public static method

public static DownloadVideo ( YoutubeVideoModel vidDownloader ) : void
vidDownloader YoutubeVideoModel
return void

GetAudioDownloader() public static method

public static GetAudioDownloader ( YoutubeAudioModel audioModel ) : YoutubeExtractor.AudioDownloader
audioModel YoutubeAudioModel
return YoutubeExtractor.AudioDownloader

GetPath() public static method

public static GetPath ( YoutubeModel model ) : string
model YoutubeModel
return string

GetVideoDownloader() public static method

public static GetVideoDownloader ( YoutubeVideoModel videoModel ) : YoutubeExtractor.VideoDownloader
videoModel YoutubeVideoModel
return YoutubeExtractor.VideoDownloader

GetVideoInfo() public static method

public static GetVideoInfo ( YoutubeVideoModel videoModel ) : YoutubeExtractor.VideoInfo
videoModel YoutubeVideoModel
return YoutubeExtractor.VideoInfo

GetVideoInfoAudioOnly() public static method

public static GetVideoInfoAudioOnly ( YoutubeAudioModel audioModel ) : YoutubeExtractor.VideoInfo
audioModel YoutubeAudioModel
return YoutubeExtractor.VideoInfo

GetVideoInfos() public static method

public static GetVideoInfos ( YoutubeModel model ) : IEnumerable
model YoutubeModel
return IEnumerable