Ignore:
Timestamp:
04/15/16 00:55:19 (6 years ago)
Author:
tt4sk
Message:

[TiThek] fixed: beeg website changed

File:
1 edited

Legend:

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

    r37507 r37529  
    77INPUT=$2
    88PARAM=$3
    9 URL="https://beeg.com/api/v6/1740/"
     9URL="https://beeg.com/api/v6/1760/"
    1010PARSER=`echo $SRC | tr '/' '\n' | tail -n1 | sed 's/.sh//'`
    1111NAME=`echo -n ${PARSER:0:1} | tr '[a-z]' '[A-Z]'`${PARSER:1}
     
    108108           ord[sprintf("%c", i)] = i
    109109        }
    110         crc = "00bD4mj2FMx0VcXnr3HZEhJn"
     110        crc = "v4Ig0GQ2AUAQuGaHWApkY"
    111111      }
    112112/\"/  { m = 1
     
    210210        o = ""
    211211        for (i = 1; i <= length(key); i++) {
    212            o = o sprintf("%c", ord[substr(key, i, 1)] - (ord[substr(crc, i % length(crc), 1)] % 21))
     212           o = o sprintf("%c", ord[substr(key, i, 1)] - (ord[substr(crc, ((i - 1) % length(crc)) + 1, 1)] % 21))
    213213        }
    214214        print "KEY2: " o >>"/mnt/parser/beeg.log"
Note: See TracChangeset for help on using the changeset viewer.