To enable ingestion, you must set Ingestion.EnableScraping to true and populate instance lists.
1. Define Instances
Populate one or more of the following lists with objects containing Url and EndpointType:
Ingestion.ZurgInstancesIngestion.ZileanInstancesIngestion.GenericInstances
EndpointType Values:
0: Zilean1: Zurg2: Generic
Requirements for Zilean Instances:
If scraping from Zilean instances, you must also:
- Set an
ApiKey in the Zilean section. - Set
Zilean.Torrents.EnableEndpoint to true. - Set
Zilean.Torrents.EnableScrapeEndpoint to true.
2. Kubernetes Service Discovery (Optional)
If running in Kubernetes, configure these keys:
Ingestion.Kubernetes.EnableServiceDiscovery: Set to true to find Zurg instances automatically.Ingestion.Kubernetes.KubernetesSelectors: List of selectors for discovery.Ingestion.Kubernetes.KubeConfigFile: Path to kube config (default: /$HOME/.kube/config).Ingestion.Kubernetes.AuthenticationType: 0 = None, 1 = Kubernetes RBAC.
{
"Ingestion": {
"EnableScraping": true,
"ZurgInstances": [
{
"Url": "http://zurg:9000",
"EndpointType": 1
}
],
"ScrapeSchedule": "0 0 * * *"
}
}