refactor(1): move Detection (MediaDetector/SocialSiteDetector/DetectionContext) App->Core
This commit is contained in:
parent
b6b7fc341b
commit
1aab8729fa
6 changed files with 6 additions and 6 deletions
6
VideoDownloader.Core/Detection/DetectionContext.cs
Normal file
6
VideoDownloader.Core/Detection/DetectionContext.cs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
namespace VideoDownloader.Core.Detection;
|
||||
|
||||
public enum MediaKind { Hls, Dash, Direct, Social }
|
||||
|
||||
/// <summary>감지된 미디어. HLS(m3u8) / DASH(.mpd) / 직링크(Direct mp4/webm/...) / Social(yt-dlp).</summary>
|
||||
public record DetectionContext(string Url, string PageUrl, MediaKind Kind, string? ContentType = null, string? Title = null, string? Tag = null);
|
||||
Loading…
Add table
Add a link
Reference in a new issue