Changeset 39606


Ignore:
Timestamp:
01/02/17 01:08:31 (7 years ago)
Author:
obi
Message:

cleanup

Location:
titan/mediathek/localhoster
Files:
1 deleted
3 edited

Legend:

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

    r39520 r39606  
    1414
    1515    def get_answer_code(self, web_url):
    16         headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Maxthon/4.4.7.3000 Chrome/30.0.1599.101 Safari/537.36'}                 
     16        headers = {'User-Agent': common.FF_USER_AGENT}                 
    1717        html = self.net.http_GET(web_url, headers=headers).content
    1818        #html = self.request(web_url, cookie_file=/mnt/network/cookies, cloudflare=True)
  • titan/mediathek/localhoster/hoster.sh

    r39580 r39606  
    188188                vivo) vivo $INPUT;;
    189189                vidto) vidto $INPUT;;
    190                 goldesel) goldesel $INPUT;;
     190                goldesel) cloudflare $INPUT;;
    191191                movie4k) cloudflare $INPUT;;
    192192                streamcloud1) streamcloud $INPUT;;     
  • titan/mediathek/localhoster/vidzi.py

    r39525 r39606  
    2929
    3030    def get_media_url(self, host, media_id):
    31         return helpers.get_media_url(self.get_url(host, media_id))
     31        print helpers.get_media_url(self.get_url(host, media_id))
    3232
    3333    def get_url(self, host, media_id):
Note: See TracChangeset for help on using the changeset viewer.