Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jandan.. 报错啊.. #1

Open
Homeless-Xu opened this issue Mar 24, 2017 · 2 comments
Open

jandan.. 报错啊.. #1

Homeless-Xu opened this issue Mar 24, 2017 · 2 comments

Comments

@Homeless-Xu
Copy link

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 是我电脑的问题??

@atiger77
Copy link
Owner

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

@atiger77
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants