def showAll(self):
		self.conn.commit()
		cur = self.conn.cursor()
		cur.execute("SELECT * FROM Domains")
		print cur.fetchall()
		cur.execute("SELECT * FROM Websites")
		print cur.fetchall()
def runSpider(self, lstSubcommand=None):
        strSubcommand = lstSubcommand[0]
        strArg1 = None
        if len(lstSubcommand) == 2:
            strArg1 = lstSubcommand[1]
        self.initDriver() #init selenium driver
        self.dicSubCommandHandler[strSubcommand](strArg1)
        self.quitDriver() #quit selenium driver