From 41661892cf458a00b31c1196e034a39bbe1a574d Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Wed, 29 May 2019 13:44:29 +0800 Subject: [PATCH] prepare for list fields extraction --- crawlab/routes/spiders.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crawlab/routes/spiders.py b/crawlab/routes/spiders.py index 03d0659a..758cf29c 100644 --- a/crawlab/routes/spiders.py +++ b/crawlab/routes/spiders.py @@ -599,7 +599,8 @@ class SpiderApi(BaseApi): if len(_child_text_tags) > _max_num: _max_tag = tag _max_num = len(_child_text_tags) - return _max_tag + + # TODO: extract list fields class SpiderImportApi(Resource):