11 lines
230 B
Python
Raw Normal View History

2025-05-28 19:16:17 +08:00
# -*- coding: utf-8 -*-
import os
import sys
from scrapy.cmdline import execute
dirpath = os.path.dirname(os.path.abspath(__file__))
sys.path.append(dirpath)
2026-01-19 09:17:26 +08:00
execute(['scrapy', 'crawl', 'TwitterUserSpider', '-a', 'params={}'])