Skip to content

Instantly share code, notes, and snippets.

@EntilZha
Last active July 7, 2020 14:31
Show Gist options
  • Save EntilZha/fc3e8c243e3c330454bc0a25f0f88705 to your computer and use it in GitHub Desktop.
Save EntilZha/fc3e8c243e3c330454bc0a25f0f88705 to your computer and use it in GitHub Desktop.
Export a list of visited/favorited papers from virtual.acl2020.org
// allpapers is stored in a cookie
for (p of allPapers) {
if (p.content.read) {
// Chop off the .pdf
console.log(p.content.pdf_url.slice(0, -4))
}
}
// Improved version that doesn't have line numbers
console.log(allPapers.filter(p => p.content.read).map(p => p.content.pdf_url.slice(0, -4)).join('\n'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment