Changeset 42134 for titan/mediathek


Ignore:
Timestamp:
Apr 1, 2018, 11:02:12 PM (21 months ago)
Author:
obi
Message:

fix

Location:
titan/mediathek/localparser_secret
Files:
2 edited

Legend:

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

    r42133 r42134  
    245245hosterlist()
    246246{
    247                 rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
    248 
    249 #       if [ ! -e "$TMP/$FILENAME.list" ]; then
     247#       rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
     248        if [ ! -e "$TMP/$FILENAME.list" ]; then
    250249                $curlbin "$PAGE" -o $TMP/cache.$FILENAME.1
    251250                cat $TMP/cache.$FILENAME.1 | grep iframe | sed -nr 's/.*src="([^"]+)".*/\1/p' >$TMP/cache.$FILENAME.2
     
    331330                        done
    332331                done 3<$TMP/cache.$FILENAME.2
    333 #               rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
    334 #       fi
     332                rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
     333        fi
    335334        echo "$TMP/$FILENAME.list"
    336335}
  • titan/mediathek/localparser_secret/streamcloud.sh

    r42132 r42134  
    245245hosterlist()
    246246{
    247                 rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
    248 
    249 #       if [ ! -e "$TMP/$FILENAME.list" ]; then
     247#       rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
     248        if [ ! -e "$TMP/$FILENAME.list" ]; then
    250249                $curlbin "$PAGE" -o $TMP/cache.$FILENAME.1
    251250                cat $TMP/cache.$FILENAME.1 | grep iframe | sed -nr 's/.*src="([^"]+)".*/\1/p' >$TMP/cache.$FILENAME.2
     
    331330                        done
    332331                done 3<$TMP/cache.$FILENAME.2
    333 #               rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
    334 #       fi
     332                rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
     333        fi
    335334        echo "$TMP/$FILENAME.list"
    336335}
Note: See TracChangeset for help on using the changeset viewer.