bilico commited on
Commit
cf005fb
·
verified ·
1 Parent(s): aef5045

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def home():
49
  """
50
  @app.route('/spiders',methods=["GET"])
51
  def list_scrapers():
52
- return jsonify(spider_mapping)
53
  @app.route('/run-spider/<spider_name>', methods=['POST'])
54
  def run_spider(spider_name):
55
  try:
 
49
  """
50
  @app.route('/spiders',methods=["GET"])
51
  def list_scrapers():
52
+ return jsonify(spider_mapping.keys)
53
  @app.route('/run-spider/<spider_name>', methods=['POST'])
54
  def run_spider(spider_name):
55
  try: