From c584108808db1a012c3bb10d10a2c5cc693e94b7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 15 Sep 2016 12:05:19 +0900 Subject: [PATCH] Fix bug --- src/general.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/general.ts b/src/general.ts index c41961f..8c39b7d 100644 --- a/src/general.ts +++ b/src/general.ts @@ -10,7 +10,9 @@ const client = require('cheerio-httpcli'); client.referer = false; client.timeout = 10000; -export default async (url: URL.Url): Promise => { +import ISummary from './isummary'; + +export default async (url: URL.Url): Promise => { const res = await client.fetch(url.href); if (res.error) {