|
|
@ -5,6 +5,7 @@ arrItemId=$radarr_movie_id
|
|
|
|
tmdbApiKey="3b7751e3179f796565d88fdb2fcdf426"
|
|
|
|
tmdbApiKey="3b7751e3179f796565d88fdb2fcdf426"
|
|
|
|
autoScan="false"
|
|
|
|
autoScan="false"
|
|
|
|
updatePlex="false"
|
|
|
|
updatePlex="false"
|
|
|
|
|
|
|
|
ytdlpExtraOpts="--user-agent facebookexternalhit/1.1"
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -z "$1" ]; then
|
|
|
|
if [ ! -z "$1" ]; then
|
|
|
|
arrItemId="$1"
|
|
|
|
arrItemId="$1"
|
|
|
@ -204,9 +205,9 @@ do
|
|
|
|
|
|
|
|
|
|
|
|
log "$itemTitle :: $i of $tmdbVideosListDataIdsCount :: $tmdbExtraType :: $tmdbExtraTitle ($tmdbExtraKey) :: Downloading (yt-dlp :: $videoFormat)..."
|
|
|
|
log "$itemTitle :: $i of $tmdbVideosListDataIdsCount :: $tmdbExtraType :: $tmdbExtraTitle ($tmdbExtraKey) :: Downloading (yt-dlp :: $videoFormat)..."
|
|
|
|
if [ ! -z "$cookiesFile" ]; then
|
|
|
|
if [ ! -z "$cookiesFile" ]; then
|
|
|
|
yt-dlp -f "$videoFormat" --no-video-multistreams --cookies "$cookiesFile" -o "$finalPath/$finalFileName" --write-sub --sub-lang $videoLanguages --embed-subs --merge-output-format mkv --no-mtime --geo-bypass "https://www.youtube.com/watch?v=$tmdbExtraKey"
|
|
|
|
yt-dlp -f "$videoFormat" --no-video-multistreams --cookies "$cookiesFile" -o "$finalPath/$finalFileName" --write-sub --sub-lang $videoLanguages --embed-subs --merge-output-format mkv --no-mtime --geo-bypass $ytdlpExtraOpts "https://www.youtube.com/watch?v=$tmdbExtraKey"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
yt-dlp -f "$videoFormat" --no-video-multistreams -o "$finalPath/$finalFileName" --write-sub --sub-lang $videoLanguages --embed-subs --merge-output-format mkv --no-mtime --geo-bypass "https://www.youtube.com/watch?v=$tmdbExtraKey"
|
|
|
|
yt-dlp -f "$videoFormat" --no-video-multistreams -o "$finalPath/$finalFileName" --write-sub --sub-lang $videoLanguages --embed-subs --merge-output-format mkv --no-mtime --geo-bypass $ytdlpExtraOpts "https://www.youtube.com/watch?v=$tmdbExtraKey"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if [ -f "$finalPath/$finalFileName.mkv" ]; then
|
|
|
|
if [ -f "$finalPath/$finalFileName.mkv" ]; then
|
|
|
|
log "$itemTitle :: $i of $tmdbVideosListDataIdsCount :: $tmdbExtraType :: $tmdbExtraTitle ($tmdbExtraKey) :: Compete"
|
|
|
|
log "$itemTitle :: $i of $tmdbVideosListDataIdsCount :: $tmdbExtraType :: $tmdbExtraTitle ($tmdbExtraKey) :: Compete"
|
|
|
|