我需要传递一个数组之间的两个函数在Scrapy的蜘蛛后,提出一个新的请求(不同于实际)。我会试着把它表现出来:
def newParse(self, response):
array = []
array.append(data1)
array.append(data2)
def parse(self, response):
...................
extract other data
...................
yield scrapy.Request(newUrl, callback=self.newParse)
# I want to recover my array here
目前没有回答
相关问题 更多 >
编程相关推荐