2026-01-19 09:17:26 +08:00

11 lines
230 B
Python

# -*- coding: utf-8 -*-
import os
import sys
from scrapy.cmdline import execute
dirpath = os.path.dirname(os.path.abspath(__file__))
sys.path.append(dirpath)
execute(['scrapy', 'crawl', 'TwitterUserSpider', '-a', 'params={}'])