Web GYOTAKU (ウェブ魚拓) client for Node.js.
Unofficial and Implemented by dirty scraping...
npm install --save gyotaku
import Gyotaku from 'gyotaku';
const gyotaku = new Gyotaku('http://google.com');
// take GYOTAKU
gyotaku.take().then(url => {
console.log(url); // http://megalodon.jp/2015-1120-0000-00/google.com/
});
// listing GYOTAKU urls
gyotaku.list().then(urls => {
console.log(urls); // ['http://megalodon.jp/2007-1006-1745-56/google.com/', ...]
});
// listing GYOTAKU urls from HTML
Gyotaku.parseListHTML('HTML_STRING_OF_LIST_PAGE'); // ['http://megalodon.jp/2007-1006-1745-56/google.com/', ...]
- gyotaku-cli - CLI for this module