Files
CROWLER/Configuration/CrawlerOptions.cs
2026-04-04 10:52:30 +03:00

13 lines
598 B
C#

namespace CRAWLER.Configuration;
internal sealed class CrawlerOptions
{
public string BaseUrl { get; set; } = "https://www.ktopoverit.ru";
public string CatalogPathFormat { get; set; } = "/poverka/gosreestr_sredstv_izmereniy?page={0}";
public int RequestDelayMilliseconds { get; set; } = 350;
public int DefaultPagesToScan { get; set; } = 1;
public string PdfStoragePath { get; set; } = "%LOCALAPPDATA%\\CRAWLER\\PdfStore";
public int TimeoutSeconds { get; set; } = 30;
public string UserAgent { get; set; } = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) CRAWLER/1.0";
}