From 3128baeda14bd2195b27091c36eb955a78f6dcfb Mon Sep 17 00:00:00 2001 From: Adam Pash Date: Wed, 7 Sep 2016 11:01:02 -0400 Subject: [PATCH] cleanup --- src/index.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/index.js b/src/index.js index ba053c2a..e661db42 100644 --- a/src/index.js +++ b/src/index.js @@ -4,13 +4,10 @@ import Resource from './resource' import GenericExtractor from './extractor/generic' import fetchResource from './resource/utils/fetch-resource' -// export default fetchResource - -// export { default as GenericExtractor } from './extractor/generic/index.js' const Iris = { - parse: async function(url) { - const $ = await Resource.create(url) + parse: async function(url, html) { + const $ = await Resource.create(url, html) const result = GenericExtractor.parse(url, null, $) return result }