Changeset 41837 for titan/mediathek


Ignore:
Timestamp:
Jan 28, 2018, 4:43:31 PM (22 months ago)
Author:
obi
Message:

fix movie

File:
1 edited

Legend:

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

    r40966 r41837  
    3030fi
    3131
    32 URL=http://movie4k.to
     32#URL=http://movie4k.to
     33URL=http://movie4kto.st
    3334PARSER=`echo $SRC | tr '/' '\n' | tail -n1 | sed 's/.sh//'`
    3435NAME=Movie4k
     
    188189                piccount=0
    189190
    190                 $curlbin $URL/$PAGE$NEXT$PAGE2 -o $TMP/cache.$FILENAME.1
     191#               $curlbin $URL/$PAGE$NEXT$PAGE2 -o $TMP/cache.$FILENAME.1
     192                $BIN /tmp/localhoster/cloudflare.py "$URL/$PAGE$NEXT$PAGE2" > $TMP/cache.$FILENAME.1
    191193
    192194                pages=`cat $TMP/cache.$FILENAME.1 | grep $PAGE | sed "s/$PAGE/\n$PAGE/g" | cut -d ">" -f2 | cut -d "<" -f1 | tail -n1`
     
    252254                piccount=0
    253255
    254                 $curlbin $URL/$PAGE$NEXT$PAGE2 -o $TMP/cache.$FILENAME.1
     256#               $curlbin $URL/$PAGE$NEXT$PAGE2 -o $TMP/cache.$FILENAME.1
     257                $BIN /tmp/localhoster/cloudflare.py "$URL/$PAGE$NEXT$PAGE2" > $TMP/cache.$FILENAME.1
    255258
    256259                pages=`cat $TMP/cache.$FILENAME.1 | grep $PAGE | sed "s/$PAGE/\n$PAGE/g" | cut -d ">" -f2 | cut -d "<" -f1 | tail -n1`
     
    321324                piccount=0
    322325
    323                 $curlbin $URL/$PAGE$NEXT$PAGE2 -o $TMP/cache.$FILENAME.1
     326#               $curlbin $URL/$PAGE$NEXT$PAGE2 -o $TMP/cache.$FILENAME.1
     327                $BIN /tmp/localhoster/cloudflare.py "$URL/$PAGE$NEXT$PAGE2" > $TMP/cache.$FILENAME.1
    324328
    325329                pages=`cat $TMP/cache.$FILENAME.1 | grep $PAGE | sed "s/$PAGE/\n$PAGE/g" | cut -d ">" -f2 | cut -d "<" -f1 | tail -n1`
     
    390394                piccount=0
    391395
    392                 $curlbin $URL/$PAGE$NEXT$PAGE2 -o $TMP/cache.$FILENAME.1
     396#               $curlbin $URL/$PAGE$NEXT$PAGE2 -o $TMP/cache.$FILENAME.1
     397                $BIN /tmp/localhoster/cloudflare.py "$URL/$PAGE$NEXT$PAGE2" > $TMP/cache.$FILENAME.1
    393398
    394399                pages=`cat $TMP/cache.$FILENAME.1 | grep $PAGE | sed "s/$PAGE/\n$PAGE/g" | cut -d ">" -f2 | cut -d "<" -f1 | tail -n1`
     
    455460                piccount=0
    456461        #       /tmp/localhoster/hoster.sh get $URL/$PAGE > $TMP/cache.$PARSER.$INPUT.1
    457                 $curlbin "$URL/$PAGE" -o "$TMP/cache.$FILENAME.1"
     462#               $curlbin "$URL/$PAGE" -o "$TMP/cache.$FILENAME.1"
     463                $BIN /tmp/localhoster/cloudflare.py "$URL/$PAGE" > $TMP/cache.$FILENAME.1
     464
    458465                cat $TMP/cache.$FILENAME.1 | grep ^"<a href=" | grep "<img src=" >$TMP/cache.$FILENAME.2
    459466
     
    491498{
    492499        if [ ! -e "$TMP/$FILENAME.list" ]; then
    493                 /tmp/localhoster/hoster.sh get $URL/$PAGE > $TMP/cache.$FILENAME.1
     500#               /tmp/localhoster/hoster.sh get $URL/$PAGE > $TMP/cache.$FILENAME.1
     501                $BIN /tmp/localhoster/cloudflare.py "$URL/$PAGE" > $TMP/cache.$FILENAME.1
    494502
    495503                cat $TMP/cache.$FILENAME.1 | grep ^"links\[" >$TMP/cache.$FILENAME.2
     
    508516                        fi
    509517                done 3<$TMP/cache.$FILENAME.2
    510                 rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
     518#               rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
    511519        fi
    512520        echo "$TMP/$FILENAME.list"
     
    518526        rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
    519527#       $curlbin $URL/$PAGE -o $TMP/cache.$PARSER.$INPUT.1 -A 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Maxthon/4.4.7.3000 Chrome/30.0.1599.101 Safari/537.36'
    520         /tmp/localhoster/hoster.sh get $URL/$PAGE > $TMP/cache.$FILENAME.1
     528#       /tmp/localhoster/hoster.sh get $URL/$PAGE > $TMP/cache.$FILENAME.1
     529        $BIN /tmp/localhoster/cloudflare.py "$URL/$PAGE$NEXT$PAGE2" > $TMP/cache.$FILENAME.1
    521530
    522531        STREAMURL=`cat $TMP/cache.$FILENAME.1 | sed 's!<a target="_blank" href="!\nstreamurl="!' | grep ^streamurl= | cut -d'"' -f2`
     
    539548        hoster) $INPUT;;
    540549        search) $INPUT;;
    541         searchtv) $INPUT;;
    542         season) $INPUT;;
    543         episode) $INPUT;;
     550    searchtv) $INPUT;;
     551    season) $INPUT;;
     552    episode) $INPUT;;
    544553        kino) $INPUT;;
    545554        sorted) $INPUT;;
Note: See TracChangeset for help on using the changeset viewer.