Scrapy start_urls

后端 未结 6 1551
有刺的猬
有刺的猬 2020-12-28 23:23

The script (below) from this tutorial contains two start_urls.

from scrapy.spider import Spider
from scrapy.selector import Selector

from dirb         


        
6条回答
  •  一向
    一向 (楼主)
    2020-12-29 00:06

    The class does not have a rules property. Have a look at http://readthedocs.org/docs/scrapy/en/latest/intro/overview.html and search for "rules" to find an example.

提交回复
热议问题