3 ms·
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 https:/
by gabrielsroka 6y 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 https://gabrielsroka.github.io/getHNFavorites.js or to view the source code, see JS: https://github.com/gabrielsroka/gabrielsroka.github.io/blob/master/getHNFavorites.js https://github.com/gabrielsroka/gabrielsroka.github.io/blob/... or Python: https://github.com/gabrielsroka/gabrielsroka.github.io/blob/master/getHNFavorites.py https://github.com/gabrielsroka/gabrielsroka.github.io/blob/...
Previous discussion, other tools and more info:
https://news.ycombinator.com/item?id=22788236 https://news.ycombinator.com/item?id=22788236
Maybe I should add a SQL interface ;)
select *
from favorites
where username = 'amzpix' and
title like '%SQL%';
- amzpix 6y agoThis worked perfectly! I found what I was looking for. Thank you so much for writing this and sharing with others.
- gabrielsroka 6y agoYou'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.
- potta_coffee 6y agoNeat, thanks very much.