项目作者: fanuniverse

项目描述 :
An image scraper service
高级语言: Haskell
项目地址: git://github.com/fanuniverse/malachite.git
创建时间: 2017-07-11T07:43:19Z
项目社区:https://github.com/fanuniverse/malachite

开源协议:Creative Commons Zero v1.0 Universal

下载


Malachite

An image scraping service, currently supporting
DeviantART and Tumblr links.

API

The service has a single endpoint, GET /, which accepts
the target link as the url parameter.

The service can respond with either of the following:

Status Description Body
200 the service was able to fetch and scrape the given URL a JSON object containing the scraped metadata
404 the service was unable to fetch or scrape the given URL (empty)
400 no URL was given (empty)

Docker

Pull from littlebobbytables/malachite.

Development

Requirements

Building

  1. stack docker pull
  2. stack build

Testing

  1. stack test