Changeset 38996


Ignore:
Timestamp:
09/24/16 19:03:25 (7 years ago)
Author:
obi
Message:

[tithek] add local python hoster openload / allmyvideos / nosvideo / vidup

Location:
titan/mediathek/localhoster
Files:
3 added
2 edited

Legend:

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

    r38985 r38996  
    6767}
    6868
     69flashx()
     70{
     71        python $CMD/flashx.py $INPUT
     72}
     73
     74openload()
     75{
     76        python $CMD/openload.py $INPUT
     77}
     78
    6979if [ "$TYPE" == "get" ];then
    7080        case $hoster in
     
    7484                nosvideo) nosvideo $INPUT;;
    7585                allmyvideos) allmyvideos $INPUT;;
     86                flashx) flashx $INPUT;;
     87                openload) openload $INPUT;;
    7688        esac
    7789fi
  • titan/mediathek/localhoster/lib/aa_decoder.py

    r38962 r38996  
    88# Modified by Shani
    99import re
    10 from urlresolver import common
     10#from urlresolver import common
    1111
    1212
     
    188188        result = re.search(pattern, self.encoded_str, re.DOTALL)
    189189        if result is None:
    190             common.log_utils.log_debug("AADecoder: data not found")
     190#            common.log_utils.log_debug("AADecoder: data not found")
    191191            return False
    192192
     
    202202            # Check new char
    203203            if data.find(begin_char) != 0:
    204                 common.log_utils.log_debug("AADecoder: data not found")
     204#                common.log_utils.log_debug("AADecoder: data not found")
    205205                return False
    206206
     
    229229
    230230            if str_char == "":
    231                 common.log_utils.log_debug("no match :  ")
    232                 common.log_utils.log_debug(data + "\nout = " + out + "\n")
     231#                common.log_utils.log_debug("no match :  ")
     232#                common.log_utils.log_debug(data + "\nout = " + out + "\n")
    233233                return False
    234234            # print 'sofar', str_char, radix,out
     
    238238
    239239        if out == "":
    240             common.log_utils.log_debug("no match : " + data)
     240#            common.log_utils.log_debug("no match : " + data)
    241241            return False
    242242
Note: See TracChangeset for help on using the changeset viewer.