-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added some more docs and removed strike through * fixed bug in start up script
- Loading branch information
1 parent
1eb947c
commit b943aa8
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import scrapy | ||
from scrapy.crawler import CrawlerProcess | ||
from ukcavegis.spiders import dcaregistry, mendipregistry, scotlandregistry, cnccregistry | ||
from ukcavegis.spiders import dcaregistry, mendipregistry, scotlandregistry, cnccregistry, cccregistry, fodccagregistry, ducregistry | ||
from scrapy.utils.project import get_project_settings | ||
|
||
process = CrawlerProcess(get_project_settings()) | ||
process.crawl(dcaregistry.DcaRegistry) | ||
process.crawl(mendipregistry.MendipRegistry) | ||
process.crawl(scotlandregistry.ScotlandRegistry) | ||
process.crawl(cnccregistry.CnccRegistry) | ||
process.crawl(cnccregistry.DucRegistry) | ||
process.crawl(cnccregistry.FodccagRegistry) | ||
process.crawl(cnccregistry.CccRegistry) | ||
process.crawl(ducregistry.DucRegistry) | ||
process.crawl(fodccagregistry.FodccagRegistry) | ||
process.crawl(cccregistry.CccRegistry) | ||
process.start() |