Changeset 37175 for titan/mediathek
- Timestamp:
- 02/17/16 13:08:39 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r37157 r37175 2 2 # first sh box hoster for titannit mfg obi 3 3 4 INPUT=$1 4 TYPE=$1 5 INPUT=$2 5 6 6 7 ARCH=`cat /etc/.arch` … … 20 21 { 21 22 hosterurl=http://www.ecostream.tv 22 data="tpm=`$curlbin $ 1 | grep footerhash | cut -d"'" -f2``$curlbin $1 | grep superslots | cut -d"'" -f2`&id=`$curlbin $1| grep data-id | cut -d'"' -f4`"23 data="tpm=`$curlbin $INPUT | grep footerhash | cut -d"'" -f2``$curlbin $INPUT | grep superslots | cut -d"'" -f2`&id=`$curlbin $INPUT | grep data-id | cut -d'"' -f4`" 23 24 streampage=`$curlbin $hosterurl/js/ecoss.js | grep "$.post('" | grep videos | cut -d"'" -f2` 24 streamurl=$hosterurl`$curlbin -H "X-Requested-With: XMLHttpRequest" -X POST --data "$data" --referer $ 1$hosterurl/$streampage | cut -d'"' -f6`25 streamurl=$hosterurl`$curlbin -H "X-Requested-With: XMLHttpRequest" -X POST --data "$data" --referer $INPUT $hosterurl/$streampage | cut -d'"' -f6` 25 26 if [ "$streamurl" != "$hosterurl" ];then 26 27 echo $streamurl … … 28 29 } 29 30 30 case $hoster in 31 ecostream) ecostream $1;; 32 esac 31 if [ "$TYPE" == "get" ];then 32 case $hoster in 33 ecostream) ecostream $INPUT;; 34 esac 35 fi
Note: See TracChangeset
for help on using the changeset viewer.