diff --git a/src/methods/vidbleVideo.js b/src/methods/vidbleVideo.js index 7b81706..33ff2ad 100644 --- a/src/methods/vidbleVideo.js +++ b/src/methods/vidbleVideo.js @@ -18,6 +18,10 @@ function vidbleVideo(post) { const source = resource.attr('src'); const type = resource.attr('type'); + if(!source || !type) { + throw new Error(`Failed to retrieve (likely removed) vidble video '${post.host.id}'`); + } + return { album: null, items: [{