mirror of
https://github.com/Threnklyn/advent-of-code-go.git
synced 2026-05-31 17:28:29 +02:00
2020 day5 - ugh off by one w/ funky binary search
This commit is contained in:
@@ -58,7 +58,7 @@ func GetWithAOCCookie(url string, cookie string) []byte {
|
||||
fmt.Println("response length is", len(body))
|
||||
|
||||
if strings.HasPrefix(string(body), "Please don't repeatedly") {
|
||||
// panic("Repeated request github.com/alexchao26/advent-of-code-go error")
|
||||
panic("Repeated request github.com/alexchao26/advent-of-code-go error")
|
||||
}
|
||||
|
||||
return body
|
||||
|
||||
Reference in New Issue
Block a user