| 12345678910111213141516171819 |
- # -*- coding: utf-8 -*-
- __author__ = 'admin'
- __date__ = '2018/3/7 上午10:06'
- from scrapy.cmdline import execute
- import sys
- import os
- # print(os.path.dirname(os.path.abspath(__file__)))
- sys.path.append(os.path.dirname(os.path.abspath(__file__)))
- # execute(["scrapy", "crawl", "hg3535"])
- # execute(["scrapy", "crawl", "hg3535_supplement"])
- # execute(["scrapy", "crawl", "lanqiu"])
- # execute(["scrapy", "crawl", "tennis"])
- execute(["scrapy", "crawl", "bangqiu"])
- # execute(["scrapy", "crawl", "zhihu_sel"])
- # execute(["scrapy", "crawl", "lagou"])
|