Live data from Hacker News

Export your Hacker News saved links to CSV using only Chrome console

github.com

1–10 of 17 posts

Re: Export your Hacker News saved links to CSV using only Chrome console

#3
post #2

Anyone find a way to do this in Firefox as well? It seems to work; except, it won't save the data in CSV. I'll try to get the raw JSON data...

got it working with the following:

window.location=window.URL.createObjectURL(new Blob([localStorage.getItem('hn_saved')],{type:'x-whatever/x-backup'}));

file name is weird (I'm a JS newb!)

Re: Export your Hacker News saved links to CSV using only Chrome console

#7
post #5

What puts a link on your saved links page? I'd never noticed that page before.

Up voting it.

I really wish there was a way to save a link for later reading without up voting.

Sometimes I'm on my phone, see an interesting title I can't read right at the moment, but feel weird about upvoting it without actually reading it first.

I've tried using read-it-later apps, but that works mostly for the articles and not the comments on HN which I find just as important.

Re: Export your Hacker News saved links to CSV using only Chrome console

#10
post #7
post #5

Earlier quoted context omitted.

Up voting it.

I really wish there was a way to save a link for later reading without up voting. Sometimes I'm on my phone, see an interesting title I can't read right at the moment, but feel weird about upvoting it without actually reading it first. I've tried using read-it-later apps, but that works mostly for the articles and not the comments on HN which I find just as important.

What's wrong with voting?
Post reply on HN