Ignore:
Timestamp:
02/10/17 20:45:00 (5 years ago)
Author:
obi
Message:

optimize sportsondemand remove unneeded thekes

File:
1 edited

Legend:

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

    r39980 r39981  
    4040{
    4141        if [ -e /etc/.beta ];then
    42                 echo "Live Sports#$SRC $SRC livelist live de#http://atemio.dyndns.tv/mediathek/menu/live.jpg#live.jpg#$NAME#0" > $TMP/$PARSER.$INPUT.list
     42                echo "Live Sports#$SRC $SRC livelist live de#http://atemio.dyndns.tv/mediathek/menu/livesports.jpg#livesports.jpg#$NAME#0" > $TMP/$PARSER.$INPUT.list
    4343                echo "Basketball - NBA#$SRC $SRC nbamenu#http://atemio.dyndns.tv/mediathek/menu/nbaondemand.jpg#nbaondemand.jpg#$NAME#0" >> $TMP/$PARSER.$INPUT.list
    4444                echo "Ice Hockey - NHL#$SRC $SRC nhlmenu#http://atemio.dyndns.tv/mediathek/menu/nhlondemand.jpg#nhlondemand.jpg#$NAME#0" >> $TMP/$PARSER.$INPUT.list
     
    222222                        fi
    223223
    224                         URLTMP=`cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.2 | sed 's/true http/http/'`
    225 #echo 555555a $URLTMP
    226                         URLTMP=`echo $URLTMP | sed 's/true http/http/'`
    227 #echo 555555b $URLTMP
    228 
    229                         URLTMP=`echo $URLTMP | sed 's#true //#//#'`
     224                        URLTMP=`cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.2  | sed 's#//#\nhttp://#' | grep ^"http://"`
    230225#echo 555555c $URLTMP
    231226
     
    280275                                cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.3 | tr '\n' ' ' | tr '\n' ' ' | tr '\t' ' ' | sed 's/ \+/ /g' | sed 's!<iframe src=!\nfound=!g' | grep '^found=' | cut -d'"' -f2 | head -n1 >$TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.11
    281276                                URLTMP=`cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.11`
    282                                 URLTMP=`echo $URLTMP  | sed 's#//#\nhttps://#' | grep ^"https://"`
     277                                URLTMP=`echo $URLTMP | sed 's#//#\nhttps://#' | grep ^"https://"`
    283278#echo 555555gg $URLTMP
    284279
     
    323318
    324319                echo $URL
    325 #               rm $TMP/cache.* > /dev/null 2>&1
     320                rm $TMP/cache.* > /dev/null 2>&1
    326321        fi
    327322#       echo "$TMP/$PARSER.$INPUT.$FROM.$FILENAME.list"
Note: See TracChangeset for help on using the changeset viewer.