Skip deleted videos

This commit is contained in:
Sam Carlton 2020-12-26 20:26:16 -06:00
parent d6aaafea03
commit debc264ce7

View file

@ -99,6 +99,9 @@ export default async function ( applist ) {
// Skip private videos
if (fetchedVideos[videoId].title === 'Private video') continue
// Skip deleted videos
if (fetchedVideos[videoId].title === 'Deleted video') continue
// Build video slug
const slug = slugify(`${fetchedVideos[videoId].title}-i-${videoId}`, {
lower: true,