File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- scriptVersion=" 2.0 "
2+ scriptVersion=" 2.1 "
33ytdlpExtraOpts=" --user-agent facebookexternalhit/1.1"
44scriptName=" YoutubeSeriesDownloader"
55
@@ -112,9 +112,9 @@ YoutubeSeriesDownloaderProcess () {
112112 fileName=" $seriesTitleDots .S${episodeSeasonNumber} E${episodeNumber} .WEB-DL-SonarrExtended"
113113 log " $loopCount /$sonarrSeriesTotal :: $currentLoopIteration /$seriesEpisodeTvdbIdsCount :: $seriesTitle :: S${episodeSeasonNumber} E${episodeNumber} :: Downloading via yt-dlp ($videoFormat )..."
114114 if [ ! -z " $cookiesFile " ]; then
115- yt-dlp -f " $videoFormat " --no-video-multistreams --cookies " $cookiesFile " -o " $downloadLocation /$fileName " --write-sub --sub-lang $videoLanguages --embed-subs --merge-output-format mkv --no-mtime --geo-bypass $ytdlpExtraOpts " $downloadUrl " 2>&1 | tee -a /config/logs/$scriptName .txt
115+ yt-dlp -f " $videoFormat " --no-video-multistreams --cookies " $cookiesFile " -o " $downloadLocation /$fileName " --write-sub --sub-lang $videoLanguages --embed-subs --merge-output-format mkv --no-mtime --geo-bypass $ytdlpExtraOpts " $downloadUrl " 2>&1 | tee -a /config/logs/$logFileName
116116 else
117- yt-dlp -f " $videoFormat " --no-video-multistreams -o " $downloadLocation /$fileName " --write-sub --sub-lang $videoLanguages --embed-subs --merge-output-format mkv --no-mtime --geo-bypass $ytdlpExtraOpts " $downloadUrl " 2>&1 | tee -a /config/logs/$scriptName .txt
117+ yt-dlp -f " $videoFormat " --no-video-multistreams -o " $downloadLocation /$fileName " --write-sub --sub-lang $videoLanguages --embed-subs --merge-output-format mkv --no-mtime --geo-bypass $ytdlpExtraOpts " $downloadUrl " 2>&1 | tee -a /config/logs/$logFileName
118118 fi
119119
120120 if python3 /config/extended/sma/manual.py --config " /config/extended/sma.ini" -i " $downloadLocation /$fileName .mkv" -nt; then
You can’t perform that action at this time.
0 commit comments