I'm trying to run a scrapy spider from a simple PyQt4 GUI I built, the user has to fill his email and password to run the spider, the spider works well if I call it from the command prompt like so
scrapy crawl my_spider -a email -a password
So once the user has filled his email and password and I saved them in my script, and after reading the documentation and some examples I found of google I still can't figure out how to run it
self.BumpPushButton.clicked.connect(self.BumpListings)
def BumpListings(self):
email = self.emailTextEdit.toPlainText()
password = self.passwordTextEdit.toPlainText()
bumpCycleInMinutes = self.MinutesTextEdit.toPlainText()
is there a simple way to call the spider at this point?