Ignore:
Timestamp:
Feb 20, 2017, 11:39:15 PM (3 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r40064 r40065  
    144144serielist()
    145145{
     146        rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
    146147        if [ -e "$TMP/$FILENAME.list" ] ; then
    147148                rm $TMP/$FILENAME.list
     
    161162                fi
    162163        done 3<$TMP/cache.$FILENAME.3
     164#       rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
     165        echo "$TMP/$FILENAME.list"
     166}
     167
     168
     169hosterlist()
     170{
    163171        rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
    164         echo "$TMP/$FILENAME.list"
    165 }
    166 
    167 
    168 hosterlist()
    169 {
     172
    170173        if [ -e "$TMP/$FILENAME.list" ] ; then
    171174                rm $TMP/$FILENAME.list
     
    179182        $curlbin2 -H "X-Requested-With: XMLHttpRequest" -X POST  --referer $URL/$PAGE $TMPURL -o $TMP/cache.$FILENAME.2
    180183
    181         cat $TMP/cache.$FILENAME.2 | sed 's/link_/\nlink_/g' | grep ^link_ | sed 's/"alternative":{"/\nlink_/g' >$TMP/cache.$FILENAME.3
     184        cat $TMP/cache.$FILENAME.2 | sed 's/{"url":"/\nlink_url":"/g' | sed 's/link_/\nlink_/g' | grep ^link_ | sed 's/"alternative":{"/\nlink_/g' >$TMP/cache.$FILENAME.3
    182185
    183186        if [ ! -z "$TRAILER" ];then
Note: See TracChangeset for help on using the changeset viewer.