Hacker News new | ask | show | jobs
by gabrielsroka 2171 days ago
I wrote some tools to export your HN favorites to CSV or HTML in both JavaScript and Python.

Check out https://gabrielsroka.github.io/getHNFavorites.js or to view the source code, see JS: https://github.com/gabrielsroka/gabrielsroka.github.io/blob/... or Python: https://github.com/gabrielsroka/gabrielsroka.github.io/blob/...

Previous discussion, other tools and more info:

https://news.ycombinator.com/item?id=22788236

Maybe I should add a SQL interface ;)

  select *
  from favorites
  where username = 'amzpix' and
  title like '%SQL%';
2 comments

This worked perfectly! I found what I was looking for. Thank you so much for writing this and sharing with others.
You're welcome. I just added a little search feature (in the spirit of my bad SQL joke above) to the JS version. It uses a JS regex.
Neat, thanks very much.