提交功能
This commit is contained in:
15
VideoDownload/Platforms/DownloadPlatforms.cs
Normal file
15
VideoDownload/Platforms/DownloadPlatforms.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.ComponentModel;
|
||||
using Downloader;
|
||||
|
||||
namespace ACBuildService;
|
||||
|
||||
public abstract class DownloadPlatforms
|
||||
{
|
||||
public abstract Task<string> ExtractUrlAsync(string text);
|
||||
public abstract Task<VideoModel> ParseShare(string DownloadUrlText);
|
||||
public abstract Task<VideoModel> ExtractVideoDataAsync(string url);
|
||||
|
||||
public abstract Task<bool> DownloadAsync(string url, string savePath, string fileName,
|
||||
EventHandler<DownloadProgressChangedEventArgs> onProgressChanged,
|
||||
EventHandler<AsyncCompletedEventArgs> onProgressCompleted);
|
||||
}
|
||||
Reference in New Issue
Block a user