Ignore:
Timestamp:
11/20/16 01:01:37 (5 years ago)
Author:
obi
Message:

fix thevideo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localhoster/thevideo.py

    r39219 r39367  
    4242
    4343        html = self.net.http_GET(web_url, headers=headers).content
    44 
     44#        print "111111111111", html.encode('utf-8').strip()
    4545        vhash = re.search('\'_vhash\', value: \'(.*?)\'', html).group(1)
    4646        gfk = re.search('\'gfk\', value: \'(.*?)\'', html).group(1)
     
    6464
    6565        html = self.net.http_POST(url=web_url, form_data=fdata, headers=headers).content
     66#        print "2222222222", html.encode('utf-8').strip()
    6667
     68#http://thevideo.me/jwv/LDonSU04MylZO1ZNSThGPUEK
    6769        r = re.search('sources:\s*(\[.*?\])', html, re.DOTALL)
    6870
     
    8688        web_url = self.get_aturl(host, path, mpri_Key)
    8789        html = self.net.http_GET(web_url, headers=headers).content
     90#        print "3333333333", html.encode('utf-8').strip()
     91
    8892        js_data = jsunpack.unpack(html)
    8993        for match in re.finditer('(eval\(function.*?)\{\}\)\)', html, re.DOTALL):
Note: See TracChangeset for help on using the changeset viewer.