Editors can now refresh audio downloads

This commit is contained in:
2018-10-31 05:24:12 +09:00
parent 3a6cd6b3bc
commit 000f04025b
11 changed files with 107 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import (
const (
// The maximum age of files we accept until we force a refresh.
maxAge = 24 * time.Hour
maxAge = 7 * 24 * time.Hour
delayBetweenRequests = 1100 * time.Millisecond
userAgent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.20 Safari/537.36"
animeDirectory = "anime"