Scrapy Shell不起作用,无法使用命令

时间:2016-02-10 23:43:05

标签: shell xpath scrapy

我正在尝试将Scrapy shell与此网址一起使用:

https://ueaeprints.uea.ac.uk/cgi/search/simple?screen=Public%3A%3AEPrintSearch&_action_search=Search&q_merge=ALL&q=fulltext&order=title%2Fcreators_name%2F-date

但它不起作用。我明白了:

[1] 7357
[2] 7358
[3] 7359
[4] 7360

我无法写任何命令。

1 个答案:

答案 0 :(得分:2)

您必须将网址放在撇号' http://url/name '中:

scrapy shell 'https://ueaeprints.uea.ac.uk/cgi/search/simple?screen=Public%3A%3AEPrintSearch&_action_search=Search&q_merge=ALL&q=fulltext&order=title%2Fcreators_name%2F-date'