鍍金池/ 問(wèn)答/人工智能  Python  Linux/ scrapy shell xx

scrapy shell xx

執(zhí)行scrapy shell xx 網(wǎng)址時(shí),沒(méi)有反應(yīng),日志文件中 stdout返回 >>>,對(duì)網(wǎng)址地址加上引號(hào)也沒(méi)有反應(yīng),交互界面沒(méi)有反應(yīng),求解

clipboard.png

回答
編輯回答
妖妖

如果你在windows中,記得給url使用雙引號(hào)。 在mac中使用單引號(hào)即可。
否則,url中若有&或其它特殊字符,就有可能出現(xiàn)和你一樣的問(wèn)題。

2018年7月14日 06:23