From c048346cfcb72445e565e5e2b968975efd8e1385 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Tue, 23 Jul 2019 21:14:19 +0800 Subject: [PATCH] code cleanup --- .gitignore | 8 +- .idea/httpRequests/http-requests-log.http | 319 ---------------------- 2 files changed, 7 insertions(+), 320 deletions(-) delete mode 100644 .idea/httpRequests/http-requests-log.http diff --git a/.gitignore b/.gitignore index 0afb0ac2..13c696a5 100644 --- a/.gitignore +++ b/.gitignore @@ -113,4 +113,10 @@ node_modules/ .DS_Store .docks -.docs \ No newline at end of file +.docs + +logs/ +tmp/ +_book/ +.idea +*.lock \ No newline at end of file diff --git a/.idea/httpRequests/http-requests-log.http b/.idea/httpRequests/http-requests-log.http deleted file mode 100644 index 845a3e05..00000000 --- a/.idea/httpRequests/http-requests-log.http +++ /dev/null @@ -1,319 +0,0 @@ -GET http://localhost:5000/api/files?path=/Users/yeqing/projects/crawlab -Content-Type: application/json - -{} - -<> 2019-02-17T105049.200.json - -### - -GET http://localhost:5000/api/files?path=/Users/yeqing/projects/crawlab -Content-Type: application/json - -{} - -<> 2019-02-17T105013.200.json - -### - -GET http://localhost:5000/api/files?path=/Users/yeqing/projects/crawlab-frontend/src -Content-Type: application/json - -{} - -<> 2019-02-17T104952.200.json - -### - -GET http://localhost:5000/api/files?path=/Users/yeqing/projects/crawlab-frontend -Content-Type: application/json - -{} - -<> 2019-02-17T104905.200.json - -### - -GET http://localhost:5000/api/files?path=/Users/yeqing/projects/crawlab-frontend -Content-Type: application/json - -{} - -<> 2019-02-17T104843.200.json - -### - -GET http://localhost:5000/api/files?path=/Users/yeqing/projects/crawlab-frontend -Content-Type: application/json - -{} - -<> 2019-02-17T104612.200.json - -### - -GET http://localhost:5000/api/files?path=/Users/yeqing/projects/crawlab-frontend -Content-Type: application/json - -{} - -<> 2019-02-17T104523.400.json - -### - -GET http://localhost:5000/api/file?path=/Users/yeqing/projects/crawlab-frontend -Content-Type: application/json - -{} - -<> 2019-02-17T104518.404.html - -### - -GET http://localhost:5000/api/file?path=/Users/yeqing/projects/crawlab-frontend -Content-Type: application/json - -{} - -<> 2019-02-17T104351.404.html - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "spider_name": "baidu spider", - "cmd": "python /Users/yeqing/projects/crawlab/spiders/baidu/baidu.py", - "src": "/Users/yeqing/projects/crawlab/spiders/baidu/baidu.py", - "spider_type": 1, - "lang_type": 1 -} - -<> 2019-02-16T044301.200.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "spider_name": "baidu spider", - "cmd": "python /Users/yeqing/projects/crawlab/spiders/baidu/baidu.py", - "src": "/Users/yeqing/projects/crawlab/spiders/baidu/baidu.py", - "spider_type": 1, - "lang_type": 1 -} - -<> 2019-02-13T083950.200.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "spider_name": "baidu spider", - "cmd": "/Users/yeqing/projects/crawlab/spiders/baidu/baidu.py", - "src": "/Users/yeqing/projects/crawlab/spiders/baidu/baidu.py", - "spider_type": 1, - "lang_type": 1 -} - -<> 2019-02-13T083921.200.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "spider_name": "baidu spider", - "cmd": "/Users/yeqing/projects/crawlab/spiders/baidu/baidu.py", - "src": "/Users/yeqing/projects/crawlab/spiders/baidu/baidu.py", - "spider_type": 1, - "lang_type": 1 -} - -### - -POST http://localhost:5000/api/spiders/5c63a2ddb65d151bee71d76b/crawl -Content-Type: application/json - -{} - -<> 2019-02-13T125947.200.json - -### - -POST http://localhost:5000/api/spiders/5c63a2ddb65d151bee71d76b/crawl -Content-Type: application/json - -{} - -<> 2019-02-13T125918.500.json - -### - -POST http://localhost:5000/api/spiders/5c63a2ddb65d151bee71d76b/crawl -Content-Type: application/json - -{} - -<> 2019-02-13T125714.200.json - -### - -POST http://localhost:5000/api/spiders/5c63a2ddb65d151bee71d76b -Content-Type: application/json - -{ - "spider_name": "b spider" -} - -<> 2019-02-13T125635.200.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "spider_name": "a spider" -} - -<> 2019-02-13T125349.200.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "spider_name": "a spider" -} - -<> 2019-02-13T125334.200.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "id": 999, - "value": "content" -} - -<> 2019-02-13T125142.200.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "id": 999, - "value": "content" -} - -<> 2019-02-13T125046.200.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "id": 999, - "value": "content" -} - -<> 2019-02-13T124900.200.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "id": 999, - "value": "content" -} - -<> 2019-02-12T010749.200.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "id": 999, - "value": "content" -} - -<> 2019-02-12T010622.200.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "id": 999, - "value": "content" -} - -<> 2019-02-12T010615.200.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "id": 999, - "value": "content" -} - -<> 2019-02-12T010551.200.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "id": 999, - "value": "content" -} - -<> 2019-02-12T010511.500.json - -### - -PUT http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "id": 999, - "value": "content" -} - -<> 2019-02-12T010316.405.json - -### - -POST http://localhost:5000/api/spiders -Content-Type: application/json - -{ - "id": 999, - "value": "content" -} - -<> 2019-02-12T010301.405.json - -### -