- Timestamp:
- 08/27/17 17:10:26 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r40852 r40853 18 18 youtubebin="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent '$USERAGENT' --format mp4 --restrict-filenames --ignore-errors -g" 19 19 youtubebinbg="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent '$USERAGENT' --format mp4 --restrict-filenames --ignore-errors --output" 20 export PYTHONHOME=/tmp/localhoster 21 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/localhoster/lib 20 22 21 23 if [ "$debuglevel" == "99" ]; then curlbin="$curlbin -v"; fi … … 47 49 rm -f /tmp/localhoster/lib/libssl.so.1.0.0.* 48 50 fi 49 50 export PYTHONHOME=/tmp/localhoster51 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/localhoster/lib52 51 53 52 if [ -e "$TMP/hoster.tar" ]; then rm -f $TMP/hoster.tar; fi … … 233 232 # $BIN $youtubebin "$INPUT" 234 233 # $BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --all-formats -g "$INPUT" 235 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"` 236 echo "$URL" >> /tmp/.last_hoster_youtube_dl.log 234 # 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"` 235 # echo "$URL" >> /tmp/.last_hoster_youtube_dl.log 236 $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" 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" > /tmp/youtube_dl.streamlink.log 2>&1 237 cat /tmp/youtube_dl.streamlink.log 238 237 239 echo $URL 238 240 }
Note: See TracChangeset
for help on using the changeset viewer.