Changeset 41211 for titan/mediathek


Ignore:
Timestamp:
Nov 19, 2017, 6:31:43 PM (2 years ago)
Author:
obi
Message:

tithek sportsondemand add aliez support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localhoster/hoster.sh

    r41210 r41211  
    1616debuglevel=`cat /mnt/config/titan.cfg | grep debuglevel | cut -d"=" -f2`
    1717curlbin="curl -k -s -L --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A '$USERAGENT'"
    18 curlbin2='curl -k -s --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A '$USERAGENT''
     18curlbin2="curl -k -s --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A '$USERAGENT'"
    1919youtubebin="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent '$USERAGENT' --format mp4 --restrict-filenames --ignore-errors -g"
    2020youtubebinbg="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent '$USERAGENT' --format mp4 --restrict-filenames --ignore-errors --output"
     
    236236aliez()
    237237{
     238        #http://emb.aliez.me/player/live.php?id=56180&w=700&h=480"
    238239        URL=`$curlbin "$INPUT" | sed 's/source:/\nsource:/' | grep ^source: | cut -d"'" -f2`
    239240        REFERER=`echo "$INPUT" | sed -e 's/=/3D/g' -e 's/&/26/g'`
    240241        echo "$URL|Referer=$REFERER&User-Agent=$USERAGENT"
    241 #       echo "$URL|Referer=$REFERER&User-Agent='Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0'"
    242 }
    243 
    244 #http://emb.aliez.me/player/live.php?id=56180&w=700&h=480"
    245 
     242}
    246243
    247244directstream()
Note: See TracChangeset for help on using the changeset viewer.