1
我想抓取這個網站:http://jadopado.com/Scrapy POST請求不工作
首先我要改變貨幣,所以我嘗試這樣做:
yield FormRequest.from_response(response,formdata={'cms_handler_name': 'jpintl%3Aon_setUserPreference',
'country_code': 'AE'},
dont_click=True,
callback=self.parse_all_categories)
它不工作,我得到的以美元作爲貨幣的迴應。 我甚至試圖用郵遞員做它,但它不工作 任何幫助?您可以在網站上部欄更改貨幣時檢查http請求。
工作:)謝謝:) 但你有什麼想法爲什麼其他方法不起作用? – Vanddel