...
No Format |
---|
{ "id": "crawl01-default-INJECT-1877363907", "type": "INJECT", "confId": "default", "args": { "url_dir": "seedFiles/seed-1641959745623", "crawldb": "crawldb" }, "result": null, "state": "RUNNING", "msg": "OK", "crawlId": "crawl01" } |
Seed
...
Lists
Create seed list
The /seed/create endpoint enables the user to create a seedlist and return the temporary path of the file created. This path should be passed to the url_dir parameter of the INJECT job. It's also worth noting that the seed
No Format |
---|
curl -X POST -H 'Content-Type: application/json' -i http://localhost:8081/seed/create --data '{"name":"test","seedUrls":["https://nutch.apache.org"]}' |
Response is the relative file directory path. Note, this is relative to where the Nutch server was started. It's also worth noting that any seed lists which are created are persistent. That is to say they remain on disk even when nutch server is not running.
No Format |
---|
seedFiles/seed-1641959745623 |
Get seed lists
The /seed endpoint facilitates retrieval of any seedlists which were created during the current server runtime.
As of Nutch 1.18 seed lists generated by previous server runtime sessions will not be available if the server is shutdown and restarted.
Database
This point provides access to information stored in the CrawlDb.
...