mirror of
https://github.com/postlight/mercury-parser
synced 2024-11-17 03:25:31 +00:00
refactor: restructuring for metadata extraction
This commit is contained in:
parent
ebea6254b5
commit
07834c0e15
@ -2,7 +2,7 @@ import cheerio from 'cheerio'
|
||||
import 'babel-polyfill'
|
||||
|
||||
import extractBestNode from './extract-best-node'
|
||||
import nodeIsSufficient from '../utils/node-is-sufficient'
|
||||
import nodeIsSufficient from '../../utils/node-is-sufficient'
|
||||
import extractCleanNode from './extract-clean-node'
|
||||
import { normalizeSpaces } from './utils/text'
|
||||
|
@ -4,7 +4,7 @@ import fs from 'fs'
|
||||
|
||||
import { clean } from './utils/dom/test-helpers'
|
||||
|
||||
import GenericContentExtractor from './content-extractor'
|
||||
import GenericContentExtractor from './extractor'
|
||||
|
||||
describe('GenericContentExtractor', () => {
|
||||
describe('parse(html, opts)', () => {
|
Loading…
Reference in New Issue
Block a user