Changeset 37466


Ignore:
Timestamp:
Mar 25, 2016, 3:53:23 PM (5 years ago)
Author:
tt4sk
Message:

fixed: burning series changed from http to https

File:
1 edited

Legend:

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

    r37156 r37466  
    88PARAM=$3
    99PARAM2=$4
    10 URL="http://bs.to/"
     10URL="https://bs.to/"
    1111PARSER=`echo $SRC | tr '/' '\n' | tail -n1 | sed 's/.sh//'`
    1212NAME="burningseries"
     13curlbin="curl -k -s"
    1314
    1415rm -rf $TMP > /dev/null 2>&1
     
    4041genres()
    4142{
    42         $wgetbin $URL"andere-serien" -O - | awk -v SRC=$SRC -v NAME=$NAME '
     43        $curlbin -o - $URL"andere-serien" | awk -v SRC=$SRC -v NAME=$NAME '
    4344BEGIN { in_genres = 0
    4445      }
     
    6263series()
    6364{
    64         $wgetbin $URL"andere-serien" -O - | awk -v PARAM=$PARAM -v SRC=$SRC -v NAME=$NAME '
     65        $curlbin -o - $URL"andere-serien" | awk -v PARAM=$PARAM -v SRC=$SRC -v NAME=$NAME '
    6566/<span><strong>/ { i = index($0, "<span><strong>") + 14
    6667                   j = index($0, "</strong></span>") - i
     
    8586staffel()
    8687{
    87         $wgetbin $URL$PARAM -O - | awk -v PARAM=$PARAM -v SRC=$SRC -v NAME=$NAME '
     88        $curlbin -o - $URL$PARAM | awk -v PARAM=$PARAM -v SRC=$SRC -v NAME=$NAME '
    8889/<li class=\" current\">/ { sub(/<li class=\" current\">/, "<li class=\" \">", $0)
    8990                          }
     
    103104episode()
    104105{
    105         $wgetbin $URL$PARAM -O - | awk -v PARAM=$PARAM -v PARAM2=$PARAM2 -v SRC=$SRC -v NAME=$NAME '
     106        $curlbin -o - $URL$PARAM | awk -v PARAM=$PARAM -v PARAM2=$PARAM2 -v SRC=$SRC -v NAME=$NAME '
    106107BEGIN { in_table_row = 0
    107108        episode = ""
     
    163164hosterlist()
    164165{
    165         $wgetbin $URL$PARAM -O - | awk -v PARAM=$PARAM -v PARAM2=$PARAM2 -v SRC=$SRC -v NAME=$NAME '
     166        $curlbin -o - $URL$PARAM | awk -v PARAM=$PARAM -v PARAM2=$PARAM2 -v SRC=$SRC -v NAME=$NAME '
    166167BEGIN { in_hosterlist = 0
    167168        url = ""
     
    204205hoster()
    205206{
    206         $wgetbin $URL$PARAM -O - | awk -v PARAM=$PARAM -v PARAM2=$PARAM2 -v SRC=$SRC -v NAME=$NAME '
     207        $curlbin -o - $URL$PARAM | awk -v PARAM=$PARAM -v PARAM2=$PARAM2 -v SRC=$SRC -v NAME=$NAME '
    207208BEGIN { in_hosterlist = 0
    208209        url = ""
Note: See TracChangeset for help on using the changeset viewer.