diff options
Diffstat (limited to 'apps/workers/videoWorker.ts')
| -rw-r--r-- | apps/workers/videoWorker.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/workers/videoWorker.ts b/apps/workers/videoWorker.ts index 518b41c5..f81b0960 100644 --- a/apps/workers/videoWorker.ts +++ b/apps/workers/videoWorker.ts @@ -115,7 +115,11 @@ async function runWorker(job: DequeuedJob<ZVideoRequest>) { assetPath = downloadPath;
} catch (e) {
const err = e as Error;
- if (err.message.includes("ERROR: Unsupported URL:")) {
+ if (
+ err.message.includes(
+ "ERROR: Unsupported URL:" || err.message.includes("No media found"),
+ )
+ ) {
logger.info(
`[VideoCrawler][${jobId}] Skipping video download from "${url}", because it's not one of the supported yt-dlp URLs`,
);
|
