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

14 lines
284 B
Python

# -*- coding: utf-8 -*-
from scrapy.cmdline import execute
import sys
import os
import requests
import time
import json
dirpath = os.path.dirname(os.path.abspath(__file__))
sys.path.append(dirpath)
execute(['scrapy', 'crawl', 'airplane_live', '-a', 'params={\"job_id\":\"302\"}'])