scapy鏁欑▼鍒濇帴瑙(2)—缂栬緫main.py鏂囦欢

涓轰簡鏂逛究鍦╬ycharm閲岄潰璋冭瘯锛屾垜浠彲浠ュ湪椤圭洰閲岄潰鍒涘缓涓涓猰ain.py锛岃繖涓枃浠跺垱寤哄湪椤圭洰鐨勬牴鐩綍搴曚笅銆

# -*- coding: utf-8 -*-


from  scrapy.cmdline import execute
import sys
import os

sys.path.append(os.path.dirname(os.path.abspath(__file__)))
execute(["scrapy","crawl","jobbole"])

All posts

Other pages

2鏉″洖搴旓細“scapy鏁欑▼鍒濇帴瑙(2)—缂栬緫main.py鏂囦欢”

鍙戣〃璇勮

鐢靛瓙閭欢鍦板潃涓嶄細琚叕寮銆 蹇呭~椤瑰凡鐢*鏍囨敞