Ignore:
Timestamp:
10/30/16 16:02:01 (5 years ago)
Author:
obi
Message:

fix nbaondemand listing

File:
1 edited

Legend:

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

    r39244 r39324  
    4848        if [ -e /etc/.beta ];then
    4949                echo "Live#$SRC $SRC livelist live de#http://atemio.dyndns.tv/mediathek/menu/category.jpg#category.jpg#$NAME#0" > $TMP/$PARSER.$INPUT.list
    50                 echo "Latest#$SRC $SRC videos latest en/videotourney/3#http://atemio.dyndns.tv/mediathek/menu/category.jpg#category.jpg#$NAME#0" >> $TMP/$PARSER.$INPUT.list
     50                echo "Latest#$SRC $SRC videos latest eng/videotourney/3#http://atemio.dyndns.tv/mediathek/menu/category.jpg#category.jpg#$NAME#0" >> $TMP/$PARSER.$INPUT.list
    5151        else
    52                 echo "Latest#$SRC $SRC videos latest en/videotourney/3#http://atemio.dyndns.tv/mediathek/menu/category.jpg#category.jpg#$NAME#0" > $TMP/$PARSER.$INPUT.list
    53         fi
    54         echo "Teams#$SRC $SRC submenu teams en/leagueresults/3/#http://atemio.dyndns.tv/mediathek/menu/category.jpg#category.jpg#$NAME#0" >> $TMP/$PARSER.$INPUT.list
     52                echo "Latest#$SRC $SRC videos latest eng/videotourney/3#http://atemio.dyndns.tv/mediathek/menu/category.jpg#category.jpg#$NAME#0" > $TMP/$PARSER.$INPUT.list
     53        fi
     54        echo "Teams#$SRC $SRC submenu teams eng/leagueresults/3/#http://atemio.dyndns.tv/mediathek/menu/category.jpg#category.jpg#$NAME#0" >> $TMP/$PARSER.$INPUT.list
    5555        echo "$TMP/$PARSER.$INPUT.list"
    5656}
     
    6565
    6666                while read -u 3 ROUND; do
    67                         URL=`echo $ROUND | sed 's!<a href="/en/eventinfo/!\nurl="/en/eventinfo/!g' | grep ^url= | cut -d'"' -f2 | head -n1`
     67                        URL=`echo $ROUND | sed 's!<a href="/eng/eventinfo/!\nurl="/eng/eventinfo/!g' | grep ^url= | cut -d'"' -f2 | head -n1`
    6868                        TITLE=`echo $ROUND | sed 's!width="30%"> <b>!\ntitle=<!g' | grep ^title= | cut -d'<' -f2 | sed 's!&ndash;!-!g'`
    6969                        SCORE=`echo $ROUND | sed 's!<font color="#949494"><b>!\nextra=<!g' | grep ^extra= | cut -d'<' -f2 | sed 's!&ndash;!-!g'`
     
    145145
    146146                $wgetbin $URL/$PAGE -O $TMP/cache.$PARSER.$FROM.$FILENAME.1
    147 #               cat $TMP/cache.$PARSER.$FROM.$FILENAME.1 | sed 's!<a href="/en/team/!\n<a href="/en/team/!g' | grep '^<a href="/en/team/' | tr ' ' '~' >$TMP/cache.$PARSER.$FROM.$FILENAME.2
    148                 cat $TMP/cache.$PARSER.$FROM.$FILENAME.1 | sed 's!<a href="/en/team/!\n<a href="/en/team/!g' | grep '^<a href="/en/team/' >$TMP/cache.$PARSER.$FROM.$FILENAME.2
     147#               cat $TMP/cache.$PARSER.$FROM.$FILENAME.1 | sed 's!<a href="/en/team/!\n<a href="/en/team/!g' | grep '^<a href="/eng/team/' | tr ' ' '~' >$TMP/cache.$PARSER.$FROM.$FILENAME.2
     148                cat $TMP/cache.$PARSER.$FROM.$FILENAME.1 | sed 's!<a href="/en/team/!\n<a href="/en/team/!g' | grep '^<a href="/eng/team/' >$TMP/cache.$PARSER.$FROM.$FILENAME.2
    149149
    150150                while read -u 3 ROUND; do
Note: See TracChangeset for help on using the changeset viewer.