Created
September 8, 2021 13:56
-
-
Save wildeyes/fca70bb64a069512ab32cd00ded1947c to your computer and use it in GitHub Desktop.
Convert get pocket app export html file to JSON you can work with
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// open ril_export.html, run this in dev tools, paste wherever you need | |
const _ = e => $$(e).map(ele => [ele.text, ele.href, ele.attributes.time_added.value, ...ele.attributes.tags.value.split(',')]); | |
copy({ unread: _('ul:first-of-type a'), read: _('ul:last-of-type a') }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment