Changeset 40404
- Timestamp:
- 05/10/17 21:49:34 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r40403 r40404 15 15 curlbin="curl -k -s -L --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A $USERAGENT" 16 16 curlbin2='curl -k -s --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies' 17 youtubebin="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent '$USERAGENT' - g"17 youtubebin="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent '$USERAGENT' --format mp4 --restrict-filenames --ignore-errors -g" 18 18 19 19 if [ "$debuglevel" == "99" ]; then curlbin="$curlbin -v"; fi … … 210 210 { 211 211 # rm -f /tmp/_last_hoster_* > /dev/null 2>&1 212 echo "$BIN $ CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --format mp4 --restrict-filenames -g$INPUT" > /tmp/.last_hoster_youtube_dl.log212 echo "$BIN $youtubebin $INPUT" > /tmp/.last_hoster_youtube_dl.log 213 213 # $BIN $youtubebin "$INPUT" 214 214 # $BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --all-formats -g "$INPUT" 215 $BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --format mp4 --restrict-filenames --ignore-errors -g "$INPUT" 215 URL=`$BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --format mp4 --restrict-filenames --ignore-errors -g "$INPUT"` 216 echo "$URL" >> /tmp/.last_hoster_youtube_dl.log 217 echo $URL 216 218 } 217 219
Note: See TracChangeset
for help on using the changeset viewer.