Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moqada/gotaku
:fish: Web GYOTAKU Client for Go
https://github.com/moqada/gotaku
Last synced: 3 days ago
JSON representation
:fish: Web GYOTAKU Client for Go
- Host: GitHub
- URL: https://github.com/moqada/gotaku
- Owner: moqada
- License: mit
- Created: 2016-02-24T18:34:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-02-24T19:56:52.000Z (over 8 years ago)
- Last Synced: 2024-06-20T06:31:34.143Z (5 months ago)
- Language: Go
- Homepage: https://godoc.org/github.com/moqada/gotaku
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# gotaku
[![Build Status][travis-image]][travis-url]
[![Doc][godoc-image]][godoc-url]
[![License][license-image]][license-url]:fish: Web GYOTAKU ([ウェブ魚拓](http://megalodon.jp/)) Client for Go.
This is Go port of [gyotaku](https://github.com/moqada/gyotaku).> Unofficial and Implemented by dirty scraping...
## Install
```
$ go get github.com/moqada/gotaku
```## Usage
```go
import (
"fmt"
"github.com/moqada/gotaku"
)// take GYOTAKU
gotaku.Take("http://example.com")
// "http://megalodon.jp/2015-1120-0000-00/example.com"// listing GYOTAKU urls
gyotaku.List("http://example.com")
// ["http://megalodon.jp/2015-1120-0000-00/example.com", ...]// listing GYOTAKU urls from HTML string
gyotaku.ListFromHTML("...">)
// ["http://megalodon.jp/2015-1120-0000-00/example.com", ...]
```The documentation is on [GoDoc](https://godoc.org/github.com/moqada/gotaku)
## CLI
- [cmd/gotaku](https://github.com/moqada/gotaku/tree/master/cmd/gotaku).
[godoc-url]: https://godoc.org/github.com/moqada/gotaku
[godoc-image]: https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square
[travis-url]: https://travis-ci.org/moqada/gotaku
[travis-image]: https://img.shields.io/travis/moqada/gotaku.svg?style=flat-square
[license-url]: http://opensource.org/licenses/MIT
[license-image]: https://img.shields.io/github/license/moqada/gotaku.svg?style=flat-square