atiger77/ScrapyProject

jandan.. 报错啊..

Opened this issue · 2 comments

File "/Users/v/Desktop/ScrapyProject/JanDan/JanDan/spiders/jiandan_ooxx.py", line 18
rules = (
^
IndentationError: unexpected indent

rules = (
    Rule(LinkExtractor(allow=('http://jandan.net/ooxx/page-\d+#comments', )), callback='parse_item', follow=True),
)

18行匹配网址.. 好像也没写错啊.
你那边可以??
我什么都没改 直接 scrapy crawl JanDan 是我电脑的问题??

我公司电脑运行也报你这个错,,之前用家里电脑调试没问题,,我回去再看下

可以了,,我重新把内容输出了下