Compare commits
	
		
			2 커밋
		
	
	
		
			cc2e470ffe
			...
			b48a464536
		
	
	| 작성자 | SHA1 | 날짜 | |
|---|---|---|---|
| b48a464536 | |||
| ffe6670ec8 | 
@ -92,7 +92,8 @@ 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
 | 
			
		||||
		f.db.Create(&s)
 | 
			
		||||
		// disabled for now
 | 
			
		||||
		//f.db.Create(&s)
 | 
			
		||||
 | 
			
		||||
		// check to see if the item was on the frontpage already or not
 | 
			
		||||
		var c int
 | 
			
		||||
 | 
			
		||||
@ -7,11 +7,13 @@
 | 
			
		||||
 | 
			
		||||
    <h2>IMPORTANT</h2>
 | 
			
		||||
 | 
			
		||||
    <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>
 | 
			
		||||
    <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>
 | 
			
		||||
 | 
			
		||||
    <h2>Why?</h2>
 | 
			
		||||
 | 
			
		||||
@ -26,7 +28,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>
 | 
			
		||||
 | 
			
		||||
		불러오는 중...
	
		Reference in New Issue
	
	Block a user