mirror of
https://github.com/NohamR/N_m3u8DL-RE.git
synced 2025-05-24 00:48:58 +00:00
21 lines
607 B
C#
21 lines
607 B
C#
using N_m3u8DL_RE.Common.Enum;
|
|
using N_m3u8DL_RE.Common.Log;
|
|
using N_m3u8DL_RE.Parser.Config;
|
|
using N_m3u8DL_RE.Parser.Processor;
|
|
|
|
namespace N_m3u8DL_RE.Processor;
|
|
|
|
internal class DemoProcessor : ContentProcessor
|
|
{
|
|
|
|
public override bool CanProcess(ExtractorType extractorType, string rawText, ParserConfig parserConfig)
|
|
{
|
|
return extractorType == ExtractorType.MPEG_DASH && parserConfig.Url.Contains("bitmovin");
|
|
}
|
|
|
|
public override string Process(string rawText, ParserConfig parserConfig)
|
|
{
|
|
Logger.InfoMarkUp("[red]Match bitmovin![/]");
|
|
return rawText;
|
|
}
|
|
} |