mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
13 lines
249 B
Python
13 lines
249 B
Python
from mongoengine import *
|
|
|
|
from model.base import BaseModel
|
|
|
|
|
|
class Spider(BaseModel):
|
|
_id = ObjectIdField()
|
|
spider_name = StringField()
|
|
cmd = StringField()
|
|
src = StringField()
|
|
spider_type = IntField()
|
|
lang_type = IntField()
|