def _crawl(deck_ids):
logging.info('????????')
decks = list()
cp = CrawlerProcess({'ITEM_PIPELINES': {'hsdata.hearthstats.HearthStatsScrapyPipeline': 1}})
cp.crawl(HearthStatsScrapySpider, deck_ids=deck_ids, decks=decks)
cp.start()
return decks
评论列表
文章目录