我想废弃工作网站.我想在scrapy shell中做一些测试.
因此,如果我键入此
scrapy shell http://www.seek.com.au
然后,如果我打字
from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor
然后它工作正常
但如果我这样做
scrapy shell http://www.seek.com.au/JobSearch?DateRange=31&SearchFrom=quick&Keywords=python&nation=3000
Run Code Online (Sandbox Code Playgroud)
然后,如果我打字
from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor
然后它说无效的bash命令from并退出scrapy作业并作为停止的作业进入屏幕
>>> from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor
-bash: from: command not found
[5]+ Stopped scrapy shell http://www.seek.com.au/JobSearch?DateRange=31
[7] Done Keywords=php
Run Code Online (Sandbox Code Playgroud)