mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-12 15:01:30 +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) {
|
if (!is_audio && !is_youtube) {
|
||||||
// tiktok videos fail when using the default format
|
// tiktok videos fail when using the default format
|
||||||
qualityPath = '-f best';
|
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'
|
qualityPath = '-f bestvideo+bestaudio'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user