Created
December 29, 2012 09:42
-
-
Save keroxil/4405782 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| from scrapy.spider import BaseSpider | |
| class AnotherSpider(BaseSpider): | |
| name = "dmoz" | |
| # One domain (job) per spider | |
| start_urls = [ | |
| "http://www.dmoz.org/", | |
| ] | |
| def parse(self, response): | |
| # Do something useful here with the response, | |
| # e.g. extract structured data from the page | |
| pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment