Ignore:
Timestamp:
May 12, 2018, 10:27:40 PM (2 years ago)
Author:
obi
Message:

tithek testfix speedup init localhoster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localparser_secret/beeg.sh

    r42432 r42464  
    22# box parser for titannit
    33
    4 . /tmp/localhoster/hoster.sh
     4case $2 in
     5        init) echo skip load hoster.sh;;
     6        *) . /tmp/localhoster/hoster.sh;;
     7esac
    58
    69SRC=$1
     
    912URL="https://beeg.com/api/v6/1525723877/"
    1013PARSER=`echo $SRC | tr '/' '\n' | tail -n1 | sed 's/.sh//'`
    11 NAME=`echo -n ${PARSER:0:1} | tr '[a-z]' '[A-Z]'`${PARSER:1}
     14NAME=`echo -n ${PARSER:0:1} | tr '[a-z]' '[. /tmp/localhoster/hoster.sh
     15A-Z]'`${PARSER:1}
    1216
    1317FILENAME="`echo $SRC | tr '/' '\n' | tail -n1 | sed 's/.sh//'` $INPUT $PARAM"
    1418FILENAME="`echo $FILENAME | sed -e 's/\&\+/./g' -e 's#\/\+#.#g' -e 's/\?\+/./g' -e 's/;\+/./g' -e 's/=\+/./g' -e 's/ \+/./g' -e 's/\.\+/./g'`"
    1519PICNAME=`echo $FILENAME`
    16 
    1720
    1821rm -rf $TMP > /dev/null 2>&1
Note: See TracChangeset for help on using the changeset viewer.