code cleanup

This commit is contained in:
Marvin Zhang
2019-07-23 21:14:19 +08:00
parent f287278fba
commit c048346cfc
2 changed files with 7 additions and 320 deletions

8
.gitignore vendored
View File

@@ -113,4 +113,10 @@ node_modules/
.DS_Store
.docks
.docs
.docs
logs/
tmp/
_book/
.idea
*.lock

View File

@@ -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
###