christianhans / pinboard-to-kindle

Calibre recipe for sending unread Pinboard bookmarks to your Kindle.
MIT License
21 stars 4 forks source link

dependency: use @mozilla/readability package #5

Closed pyrho closed 3 years ago

pyrho commented 3 years ago

👋 ,

Mozilla officially maintains this package at NPM. Also the API may have changed, hence the little modification in the require.

christianhans commented 3 years ago

Thanks!

Had to change const { Readability } = require("readability"); to const { Readability } = require("@mozilla/readability"); but otherwise seems to work very well.

pyrho commented 3 years ago

Had to change const { Readability } = require("readability"); to const { Readability } = require("@mozilla/readability");

🤦 of course, my bad. Thanks for merging !