mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-14 16:50:58 +03:00
Added support for a popular adult website
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user