mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-24 05:04:25 +00:00
10 lines
180 B
Python
10 lines
180 B
Python
import os
|
|
|
|
from scrapyd.eggutils import activate_egg
|
|
|
|
eggpath = os.environ.get('SCRAPY_EGGFILE')
|
|
if eggpath:
|
|
activate_egg(eggpath)
|
|
from scrapy.cmdline import execute
|
|
execute()
|