mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-04-19 10:26:43 +00:00
mini fix
This commit is contained in:
parent
f4054441ab
commit
bfb18d62b2
@ -40,7 +40,7 @@ func (w WorkerContext) step(results chan<- File, job Job) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
job.Fails++
|
job.Fails++
|
||||||
|
|
||||||
if httpErr, ok := err.(HttpError); ok {
|
if httpErr, ok := err.(*HttpError); ok {
|
||||||
switch httpErr.code {
|
switch httpErr.code {
|
||||||
case
|
case
|
||||||
fasthttp.StatusFound,
|
fasthttp.StatusFound,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user