do not retry unavailable videos
This commit is contained in:
parent
c41c368f34
commit
8d849b8f06
1 changed files with 1 additions and 0 deletions
|
@ -785,6 +785,7 @@ func (s *Sync) startWorker(workerNum int) {
|
||||||
"HTTP Error 403",
|
"HTTP Error 403",
|
||||||
"giving up after 0 fragment retries",
|
"giving up after 0 fragment retries",
|
||||||
"download error: ERROR: Sorry about that",
|
"download error: ERROR: Sorry about that",
|
||||||
|
"download error: ERROR: This video is not available",
|
||||||
}
|
}
|
||||||
if util.SubstringInSlice(err.Error(), errorsNoRetry) {
|
if util.SubstringInSlice(err.Error(), errorsNoRetry) {
|
||||||
log.Println("This error should not be retried at all")
|
log.Println("This error should not be retried at all")
|
||||||
|
|
Loading…
Reference in a new issue