Commits

Jason Moiron committed 7c3d0f1

some small cleanups

Comments (0)

Files changed (4)

 			// remove leading junk
 			c.Number = strings.TrimLeft(c.Number, " \t0")
 		}
-
-		log.Println(c)
 		chapters = append(chapters, c)
 	}
 	vprintf("Found %d chapters on mangahere\n", len(chapters))
 package main
 
 import (
-	"fmt"
 	"log"
 	"regexp"
 	"strings"
 // Find a number in a string
 func FindNumber(str string) string {
 	groups := numRegex.FindStringSubmatch(str)
-	fmt.Println("FindNumber: ", groups)
 	if groups == nil {
 		return ""
 	}
 	"github.com/jmoiron/goquery"
 )
 
-func init() {
-	// TODO: register the starkana updater
-}
-
 type Starkana struct {
 	*Site
 }
 					fmt.Printf("Unknown site-name %s, skipping update.\n", s.Site)
 					return
 				}
-				//fmt.Println(s, updater)
 				ret := updater.UpdateChapters(s)
 				for i := 0; i < len(ret); i++ {
 					results = append(results, ret[i])