Changeset 41460
- Timestamp:
- 12/18/17 18:43:08 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r41443 r41460 25 25 BIN="$CMD"/bin/python."$ARCH" 26 26 HLSBIN="$CMD"/bin/hlsdl."$ARCH" 27 CURLBIN="$CMD"/bin/curl."$ARCH" 28 if [ ! -e "$CURLBIN" ];then CURLBIN=curl; fi 27 29 #USERAGENT='Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0' 28 30 USERAGENT='Mozilla%2F5.0+%28Windows+NT+6.3%3B+rv%3A36.0%29+Gecko%2F20100101+Firefox%2F36.0' 29 31 debuglevel=`cat /mnt/config/titan.cfg | grep debuglevel | cut -d"=" -f2` 30 curlbin=" curl-k -s -L --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A $USERAGENT"31 curlbin2=" curl-k -s --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A $USERAGENT"32 curlbin="$CURLBIN -k -s -L --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A $USERAGENT" 33 curlbin2="$CURLBIN -k -s --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A $USERAGENT" 32 34 youtubebin="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent $USERAGENT --format mp4 --restrict-filenames --ignore-errors -g" 33 35 youtubebinbg="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent $USERAGENT --format mp4 --restrict-filenames --ignore-errors --output"
Note: See TracChangeset
for help on using the changeset viewer.