mirror of
https://github.com/Jackett/Jackett
synced 2025-01-02 21:26:08 +00:00
Cardigann: add hexdump filter
This commit is contained in:
parent
d071f19654
commit
5052613c96
1 changed files with 4 additions and 0 deletions
|
@ -783,6 +783,10 @@ namespace Jackett.Indexers
|
|||
var timestr = (string)Filter.Args;
|
||||
Data = DateTimeUtil.FromUnknown(timestr).ToString(DateTimeUtil.RFC1123ZPattern);
|
||||
break;
|
||||
case "hexdump":
|
||||
// this is mainly for debugging invisible special char related issues
|
||||
Data = string.Join("", Data.Select(c => c + "(" + ((int)c).ToString("X2") + ")"));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue