class DmozSpider(Spider):
    name = 'dmoz'
allowed_domains = ['dmoz.org']
start_urls = [
    'http://www.dmoz.org/Computers/Programming/Languages/Python/Books/',
    'http://www.dmoz.org/Computers/Programming/Languages/Python/Resources/']
Scrapy delay request