File: scrapy-ctl.py

package info (click to toggle)
python-scrapy 0.8-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,904 kB
  • ctags: 2,981
  • sloc: python: 15,349; xml: 199; makefile: 68; sql: 64; sh: 34
file content (7 lines) | stat: -rwxr-xr-x 163 bytes parent folder | download
1
2
3
4
5
6
7
#!/usr/bin/env python

import os
os.environ.setdefault('SCRAPY_SETTINGS_MODULE', '${project_name}.settings')

from scrapy.command.cmdline import execute
execute()