Start
Starts a new job from the given configuration and returns initial download tasks (one per start URL) to drive subsequent crawl/scrape steps.
Syntax
wds.Start( jobConfig )
Arguments
Name | Type | Description |
---|---|---|
jobConfig | JobConfig | Required. Job configuration |
Return type
TABLE (Task wds.DownloadTask)
Return value
List of DownloadTask (one per Start URL) in a form of table.
Examples
Creating a job and getting initial download tasks
DECLARE @jobConfig wds.JobConfig = 'JobName: TestJob1; Server: wds://localhost:2807; StartUrls: http://playground';
SELECT
root.Task.Url URL
FROM wds.Start(@jobConfig) root
URL |
---|
http://playground/ |