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

13 lines
273 B
Python

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