2025-05-28 19:16:17 +08:00

11 lines
231 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', 'FacebookUserSpider', '-a', 'params={}'])