add spider function

Signed-off-by: August Yip <augustyip@ecvision.com>