Ask HN: How to you manage your favorite HN submissions?
1–9 of 9 posts
Re: Ask HN: How to you manage your favorite HN submissions?
#2Re: Ask HN: How to you manage your favorite HN submissions?
#3So you could just loop said page number in your favorite language, access the generated webpage and get the raw HTML. If you get all lines of class "storylink" and "title", you will have all the post titles and where they link. Save that into any format as simple as Excel and you have a nice searchable overview.
Always rate limit yourself sensibly when web crawling, and have fun!
Re: Ask HN: How to you manage your favorite HN submissions?
#4Re: Ask HN: How to you manage your favorite HN submissions?
#5Check 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%';Re: Ask HN: How to you manage your favorite HN submissions?
#6I 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…
Re: Ask HN: How to you manage your favorite HN submissions?
#7I 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…
This worked perfectly! I found what I was looking for. Thank you so much for writing this and sharing with others.
Re: Ask HN: How to you manage your favorite HN submissions?
#8Re: Ask HN: How to you manage your favorite HN submissions?
#9I 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…