this is actually necessary
This commit is contained in:
parent
68132c65a9
commit
ea3315d1d6
1 changed files with 7 additions and 0 deletions
|
@ -217,6 +217,13 @@ func getVideos(channelID string, videoIDs []string, stopChan stop.Chan, ipPool *
|
|||
default:
|
||||
}
|
||||
|
||||
state, err := config.VideoState(videoID)
|
||||
if err != nil {
|
||||
return nil, errors.Err(err)
|
||||
}
|
||||
if state == "published" {
|
||||
continue
|
||||
}
|
||||
video, err := downloader.GetVideoInformation(videoID, stopChan, ipPool)
|
||||
if err != nil {
|
||||
errSDK := config.MarkVideoStatus(shared.VideoStatus{
|
||||
|
|
Loading…
Reference in a new issue