

def open_spider(self, spider):
    self.db_pool = adbapi.ConnectionPool('MySQLdb', db='crawl', user='crawl_all', passwd='crawl.tqmall2014', host='121.199.42.91', cursorclass=cursors.DictCursor, charset='utf8')

dataset/ETHPy150Open wcong/ants/antsext/db-pipe-line.py CrawlPipeline.open_spider/original