Changeset 37513


Ignore:
Timestamp:
04/08/16 19:44:24 (7 years ago)
Author:
obi
Message:

fix giga

Location:
titan/mediathek
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localhoster/hoster.sh

    r37175 r37513  
    2929}
    3030
     31giga()
     32{
     33        streampage=`$curlbin $INPUT | grep "<iframe src=" | cut -d'"' -f2 | head -n1`
     34        streamurl=`$curlbin $streampage | grep '{file:' | cut -d'"' -f2 | grep 1080p`
     35        if [ -z "$streamurl" ];then
     36                streamurl=`$curlbin $streampage | grep '{file:' | cut -d'"' -f2 | grep 720p`
     37        fi
     38        if [ -z "$streamurl" ];then
     39                streamurl=`$curlbin $streampage | grep '{file:' | cut -d'"' -f2 | grep 480p`
     40        fi
     41        if [ -z "$streamurl" ];then
     42                streamurl=`$curlbin $streampage | grep '{file:' | cut -d'"' -f2 | grep 360p`
     43        fi
     44        if [ -z "$streamurl" ];then
     45                streamurl=`$curlbin $streampage | grep '{file:' | cut -d'"' -f2 | grep 240p`
     46        fi
     47        if [ -z "$streamurl" ];then
     48                streamurl=`$curlbin $streampage | grep '{file:' | cut -d'"' -f2 | grep 180p`
     49        fi
     50        echo $streamurl
     51}
     52
    3153if [ "$TYPE" == "get" ];then
    3254        case $hoster in
    3355                ecostream) ecostream $INPUT;;
     56                giga) giga $INPUT;;
    3457        esac
    3558fi
  • titan/mediathek/localparser_free/giga.sh

    r37512 r37513  
    8686                                piccount=`expr $piccount + 1`
    8787                               
    88                                 LINE="$TITLE#$URL#$PIC#$PARSER_$piccount.$PICEXT#$NAME#15"
     88                                LINE="$TITLE#$URL#$PIC#$PARSER_$piccount.$PICEXT#$NAME#14"
    8989                                echo "$LINE" >> /tmp/tithek/$PARSER.$INPUT.list
    9090                        fi
Note: See TracChangeset for help on using the changeset viewer.