diff --git a/backend/app.js b/backend/app.js index 071e7dc..db77132 100644 --- a/backend/app.js +++ b/backend/app.js @@ -1476,7 +1476,7 @@ async function generateArgs(url, type, options) { if (!is_audio && !is_youtube) { // tiktok videos fail when using the default format qualityPath = '-f best'; - } else if (!is_audio && !is_youtube && url.includes('reddit')) { + } else if (!is_audio && !is_youtube && (url.includes('reddit') || url.includes('pornhub'))) { qualityPath = '-f bestvideo+bestaudio' }