Compare commits

..

No commits in common. "b48a4645365fb98fe68beabc85e2b0fe7598a5ba" and "cc2e470ffeab33f487d2824312a6708dfb0f0732" have entirely different histories.

2 changed files with 7 additions and 10 deletions

View File

@ -92,8 +92,7 @@ func (f *Fetcher) StoreFrontPage() error {
//f.log.Debug().Msgf("storing story with rank %d in db", (i + 1))
// FIXME this will grow unbounded and make the file too big if
// I don't clean this up or otherwise limit the data in here
// disabled for now
//f.db.Create(&s)
f.db.Create(&s)
// check to see if the item was on the frontpage already or not
var c int

View File

@ -7,13 +7,11 @@
<h2>IMPORTANT</h2>
<p>This is a third-party site, not affiliated in any way with HN,
provided for informational purposes only. <b>Do not</b> contact or
hassle HN administrators about any information you learn here.
Their site, their rules. I repeat: <b>Do not hassle or interrogate
the HN admins about their front page.</b> <small>(<a
href="https://news.ycombinator.com/item?id=22643777">more
info</a>)</small> </p>
<p>This is a third-party site, not affiliated with HN, provided for
informational purposes only. <b>Do not</b> contact or hassle HN
administrators about any information you learn here. Their site,
their rules. I repeat: <b>Do not hassle or interrogate the HN admins.</b>
</p>
<h2>Why?</h2>
@ -28,7 +26,7 @@
graciously provided <a href="https://github.com/HackerNews/API">HN
API</a>.</p>
<h2>Who?</h2>
<h2>Who</h2>
<p><a href="mailto:sneak@sneak.berlin">@sneak</a>.</p>
</div>