【发布时间】:2016-02-24 08:18:57
【问题描述】:
我正在尝试首先使用废壳发出请求,只是为了测试这种 url 的 Xpath:
site.com/search/?action=search&description=MY SEARCH &e_author=
但是请求只去'action=search'...其他参数被请求..
我如何构建这个请求?
【问题讨论】:
-
你有没有试过在从scrapy shell打开它时使用引号?
scrapy shell "site.com/search/?action=search&description=MY SEARCH &e_author=" -
是的,使用引号应该可以
标签: python web-scraping web-crawler scrapy scrapy-spider