Add link labyrinth, static robots.txt and robots bait paths
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b7027e2a72
commit
a25072e6fb
29 files changed
+774
-34
No files matched your search
@@ -11,6 +11,8 @@ public sealed record HoldMethodSettings(
|
||||
int MaxChunkSize,
|
||||
int HeadStartSize,
|
||||
bool MatchPath,
|
||||
int LinkSpacing,
|
||||
string BaitPaths,
|
||||
TimeSpan MaxHoldDuration)
|
||||
{
|
||||
public double BytesPerSecond => AverageBytesPerSecond(MinDelay, MaxDelay, MinChunkSize, MaxChunkSize);
|
||||
@@ -24,6 +26,8 @@ public sealed record HoldMethodSettings(
|
||||
[SettingKeys.DripMaxChunkSize] = MaxChunkSize.ToString(CultureInfo.InvariantCulture),
|
||||
[SettingKeys.DripHeadStartSize] = HeadStartSize.ToString(CultureInfo.InvariantCulture),
|
||||
[SettingKeys.DripMatchPath] = MatchPath ? "true" : "false",
|
||||
[SettingKeys.DripLinkSpacing] = LinkSpacing.ToString(CultureInfo.InvariantCulture),
|
||||
[SettingKeys.DripBaitPaths] = BaitPaths,
|
||||
[SettingKeys.MaxHoldDuration] = MaxHoldDuration.ToString("c", CultureInfo.InvariantCulture)
|
||||
};
|
||||
|
||||
@@ -42,6 +46,8 @@ public sealed record HoldMethodInput(
|
||||
string? MaxChunkSize,
|
||||
string? HeadStartSize,
|
||||
bool MatchPath,
|
||||
string? LinkSpacing,
|
||||
string? BaitPaths,
|
||||
string? MaxHoldDuration);
|
||||
|
||||
public sealed record HoldMethodParseResult(HoldMethodSettings? Settings, IReadOnlyDictionary<string, string> Errors);
|
||||
Reference in new issue
Block a user