Changeset 45320 for titan/mediathek/localhoster/hoster.sh
- Timestamp:
- 02/07/21 02:57:31 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r45126 r45320 37 37 AUTH='aUtzhFRTzuDFa:JNHZbghnjuz' 38 38 USERAGENT='Mozilla%2F5.0+%28Windows+NT+6.3%3B+rv%3A36.0%29+Gecko%2F20100101+Firefox%2F36.0' 39 USERAGENT2='Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0' 40 39 41 debuglevel=`cat /mnt/config/titan.cfg | grep debuglevel | cut -d"=" -f2` 40 42 PROXY="" 41 43 proxy=`cat /mnt/config/titan.cfg | grep tithek_proxy | cut -d"=" -f2` 42 44 if [ ! -z "$proxy" ];then PROXY="--proxy $proxy"; fi 43 curlbin="$ CURLBIN $PROXY -k -s -L --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A $USERAGENT -u $AUTH"45 curlbin="${CURLBIN} ${PROXY} -k -s -L --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A ${USERAGENT} -u ${AUTH}" 44 46 curlbin2="$CURLBIN $PROXY -k -s --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A $USERAGENT -u $AUTH" 45 47 youtubebin="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent $USERAGENT --format mp4 --restrict-filenames --ignore-errors -g" … … 753 755 fi 754 756 755 $curlbin "$INPUT" -o $TMP/cache.hoster.$hoster.1757 $curlbin -A "$USERAGENT2" "$INPUT" -o $TMP/cache.hoster.$hoster.1 756 758 #pl.init('http://87.120.36.57:8080/hls/streama113535/index.m3u8?st=VsL7dEPX4fBHn3tcJmmcKw'); 757 759 TMPURL=$(cat $TMP/cache.hoster.$hoster.1 | grep pl.init | cut -d"'" -f2)
Note: See TracChangeset
for help on using the changeset viewer.