feat: improve wikipedia parser

pull/5/head
Adam Pash 8 years ago
parent 1597fc79c2
commit 7ade83692a

2
dist/mercury.js vendored

@ -539,7 +539,7 @@ var WikipediaExtractor = {
},
// Selectors to remove from the extracted content
clean: ['.mw-editsection', 'figure tr, figure td, figure tbody', '#toc']
clean: ['.mw-editsection', 'figure tr, figure td, figure tbody', '#toc', '.navbox']
},

File diff suppressed because one or more lines are too long

@ -25,6 +25,7 @@ const WikipediaExtractor = {
'.mw-editsection',
'figure tr, figure td, figure tbody',
'#toc',
'.navbox',
],
},

Loading…
Cancel
Save