mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Skip deleted videos
This commit is contained in:
parent
d6aaafea03
commit
debc264ce7
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue