1
0
Fork 0
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:
kaso17 2017-01-26 10:34:28 +01:00
parent d071f19654
commit 5052613c96

View file

@ -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;
}