forked from jusk9527/ArticleSpider
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
22 lines (19 loc) · 712 Bytes
/
main.py
File metadata and controls
22 lines (19 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- coding: utf-8 -*-
from scrapy.cmdline import execute
import sys
import os
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
print(os.path.abspath(__file__))
# execute(["scrapy", "crawl", "douban"])
# execute(["scrapy","crawl","jobboless"])
# execute(["scrapy", "crawl", "douYu"])
# execute(["scrapy", "crawl", "wzSun"])
# execute(["scrapy", "crawl", "bokeyuan"])
# execute(["scrapy", "crawl", "zhihu"])
# execute(["scrapy", "crawl", "lagou"])
# execute(["scrapy", "crawl", "facebook"])
# execute(["scrapy", "crawl", "face"])
execute(["scrapy", "crawl", "meizi"])
# execute(["scrapy", "crawl", "hj_spider"])
# execute(["scrapy", "crawl", "github_login"])
# execute(["scrapy", "crawl", "sina"])