Changeset 41167 for titan


Ignore:
Timestamp:
11/14/17 17:04:41 (6 years ago)
Author:
obi
Message:

fix errormsg

File:
1 edited

Legend:

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

    r41166 r41167  
    627627
    628628                                #errormsg
    629                                 cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.3 | tr '\n' ' ' | sed 's!<h1 id="unavailable-message" class="message">!\nERROR: !' | grep ^ERROR: | cut -d"." -f1 >$TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.5
     629                                cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.3 | tr '\n' ' ' | sed 's!<h1 id="unavailable-message" class="message">!\nerrormsg= !' | grep ^errormsg= | cut -d"." -f1 >$TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.5
    630630                                ERROR=`cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.5`
    631631                                if [ "$URLTMP" == "https://www.youtube.com/watch/" ];then
Note: See TracChangeset for help on using the changeset viewer.