Skip to content

Commit 7c1e6f4

Browse files
thurstonsandmxpv
authored andcommitted
currently airing videos also break it
1 parent 1c84b36 commit 7c1e6f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/builder/youtube.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ func (yt *YouTubeBuilder) queryVideoDescriptions(ctx context.Context, playlist m
301301
image = yt.selectThumbnail(snippet.Thumbnails, feed.Quality, videoID)
302302
)
303303

304-
// Skip unreleased Premiere videos
305-
if snippet.LiveBroadcastContent == "upcoming" {
304+
// Skip unreleased/airing Premiere videos
305+
if snippet.LiveBroadcastContent == "upcoming" || snippet.LiveBroadcastContent == "live" {
306306
continue
307307
}
308308

0 commit comments

Comments
 (0)