Skip to content

Instantly share code, notes, and snippets.

@MDIB
Last active September 18, 2018 03:40
Show Gist options
  • Save MDIB/861a3e76cdf560141da1a51c6cfeab7a to your computer and use it in GitHub Desktop.
Save MDIB/861a3e76cdf560141da1a51c6cfeab7a to your computer and use it in GitHub Desktop.
JSON.stringify(
$.map($('.item_content'),
(e) => {
return {title: $(e).find('.title').text(),
url: $(e).find('.original_url').prop('href'),
image: $(e).find('.lazy-active').css('background-image'),
id: $(e).parent().prop('id')}
})
)
@MDIB
Copy link
Author

MDIB commented Sep 18, 2018

Just go to https://getpocket.com/a/queue/list/ and run this on console, it will output you a json array containing all items you have saved :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment