Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
deweizhu committed Oct 8, 2024
1 parent 76af154 commit 0bd04c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func WaitNewCookie() {
if FileExist(config.Conf.CookieFile) {
break
}
util.PrintSleepTime(10)
util.PrintSleepTime(config.Conf.Speed)
}
}()
wg.Wait()
Expand All @@ -206,7 +206,7 @@ func WaitNewCookieWithMsg(uri string) {
if FileExist(config.Conf.CookieFile) {
break
}
util.PrintSleepTime(8)
util.PrintSleepTime(config.Conf.Speed)
}
}()
wg.Wait()
Expand Down
1 change: 0 additions & 1 deletion app/harvard.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ func (p *Harvard) doDezoomifyRs(iiifUrls []string) bool {
log.Printf("Get %d/%d %s\n", i+1, size, uri)
cookies := gohttp.ReadCookieFile(config.Conf.CookieFile)
args := []string{
"--dezoomer=deepzoom",
"-H", "Origin:" + referer,
"-H", "Referer:" + referer,
"-H", "User-Agent:" + config.Conf.UserAgent,
Expand Down

0 comments on commit 0bd04c8

Please sign in to comment.