Compare commits
No commits in common. "b48a4645365fb98fe68beabc85e2b0fe7598a5ba" and "cc2e470ffeab33f487d2824312a6708dfb0f0732" have entirely different histories.
b48a464536
...
cc2e470ffe
@ -92,8 +92,7 @@ func (f *Fetcher) StoreFrontPage() error {
|
|||||||
//f.log.Debug().Msgf("storing story with rank %d in db", (i + 1))
|
//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
|
// 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
|
// 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
|
// check to see if the item was on the frontpage already or not
|
||||||
var c int
|
var c int
|
||||||
|
@ -7,13 +7,11 @@
|
|||||||
|
|
||||||
<h2>IMPORTANT</h2>
|
<h2>IMPORTANT</h2>
|
||||||
|
|
||||||
<p>This is a third-party site, not affiliated in any way with HN,
|
<p>This is a third-party site, not affiliated with HN, provided for
|
||||||
provided for informational purposes only. <b>Do not</b> contact or
|
informational purposes only. <b>Do not</b> contact or hassle HN
|
||||||
hassle HN administrators about any information you learn here.
|
administrators about any information you learn here. Their site,
|
||||||
Their site, their rules. I repeat: <b>Do not hassle or interrogate
|
their rules. I repeat: <b>Do not hassle or interrogate the HN admins.</b>
|
||||||
the HN admins about their front page.</b> <small>(<a
|
</p>
|
||||||
href="https://news.ycombinator.com/item?id=22643777">more
|
|
||||||
info</a>)</small> </p>
|
|
||||||
|
|
||||||
<h2>Why?</h2>
|
<h2>Why?</h2>
|
||||||
|
|
||||||
@ -28,7 +26,7 @@
|
|||||||
graciously provided <a href="https://github.com/HackerNews/API">HN
|
graciously provided <a href="https://github.com/HackerNews/API">HN
|
||||||
API</a>.</p>
|
API</a>.</p>
|
||||||
|
|
||||||
<h2>Who?</h2>
|
<h2>Who</h2>
|
||||||
|
|
||||||
<p><a href="mailto:sneak@sneak.berlin">@sneak</a>.</p>
|
<p><a href="mailto:sneak@sneak.berlin">@sneak</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user