私はファイルccbank_spider.pyを持っています、以下は内容です
class LoginSpider(BaseSpider):
#some code
#for hitting and parsing of the Account URL
for accountURL in (strip(s) for itemArr in items for s in itemArr['accountURL']):
print accountURL
yield request(accountURL, callback=self.account_transactions)
def account_transactions(self, response):
print 'print text'
return None
以下のエラーが発生します
File "D:\NextGen\workspace\tutorial\tutorial\spiders\ccbank_spider.py", line 45, in after_login
yield request(accountURL, callback=self.account_transactions)
exceptions.TypeError: 'module' object is not callable