shoemaker / takeout-parser

Small project to parse Reader data exported from Google Takeout.
1 stars 1 forks source link

import to instapaper works for notes and likes; not shared.json #1

Open smcnally opened 11 years ago

smcnally commented 11 years ago

Thanks for this tool.

Here's the error when importing shared.json to instapaper

/takeout-parser/import-reader.js:54 console.log('\nCOMPLETE. \nProcessed ' + result.length + ' items.'); ^ TypeError: Cannot read property 'length' of undefined

shoemaker commented 11 years ago

The Instapaper import is a little unreliable. The Instapaper API doesn't respond well to bulk imports, and I had to experiment with rate limits that are imposed when too many transactions are sent. I've updated import-reader.js with a little better error handling, which should at least give an idea of what caused the problem.