Skip to content

Commit

Permalink
4.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
spencermountain committed Oct 29, 2018
1 parent cf25573 commit 161e355
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Spencer Kelly <[email protected]> (http://spencermounta.in)",
"name": "dumpster-dive",
"description": "get a wikipedia dump parsed into mongodb",
"version": "4.0.1",
"version": "4.0.2",
"repository": {
"type": "git",
"url": "git://github.com/spencermountain/wikipedia-to-mongodb.git"
Expand Down
23 changes: 12 additions & 11 deletions scratch.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,21 @@ const dbName = path.match(/\/([a-z-]+)-latest-pages/)[1];
let options = {
file: path,
db: dbName,
// markdown: true,
// html: true,
// latex: true,
// templates: false,
// verbose: true,
// verbose_skip: true,
// batch_size: 1
// skip_redirects: true,
// skip_disambig: true,
missing_templates: true
// markdown: true,
// html: true,
// latex: true,
// templates: false,
// verbose: true,
// verbose_skip: true,
// batch_size: 1
// skip_redirects: true,
// skip_disambig: true,
// missing_templates: true
// workers: 1
// custom: function(doc) {
// console.log(doc.title())
// return {
// // _id: doc.title(),
// _id: doc.title(),
// foo: 'bar',
// // categories: doc.categories(),
// };
Expand Down

0 comments on commit 161e355

Please sign in to comment.