该网站确实有一个隐藏的身份验证令牌,但docs似乎暗示我不需要在此覆盖默认值,只需要传递用户名和密码即可。 寻找在网络选项卡,我注意到,除了发布身份验证令牌之外,还有许多cookie。不知道我是否必须在那里做任何事情。 我的代码,从不同的其他人的以前的尝试鹅卵石: The website does have a hidden authentication token, but the [docs]
当我使用scrapy从'http://quote.eastmoney.com/stocklist.html'获取一些股票信息时,我无法得到正确的回复。其实,当我运行它时,我什么也得不到。 这里是stocks.py的内容: import scrapy
from scrapy.selector import Selector
import re
class StocksSpider(scrap
我从欲望网站获取所有详细信息,但无法获取某些特定信息,请为此指导我。 targeted domain: https://shop.adidas.ae/en/messi-16-3-indoor-boots/BA9855.html my code is response.xpath('//ul[@class="product-size"]//li/text()').extract() need to