Ignore:
Timestamp:
12/12/16 00:55:52 (6 years ago)
Author:
tt4sk
Message:

[TiThek] fixed: user-agent in localparser

File:
1 edited

Legend:

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

    r39400 r39427  
    1818
    1919    def get_answer_code(self, web_url):
    20         headers = {'User-Agent': common.FF_USER_AGENT}                 
     20        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'}                 
    2121        html = self.net.http_GET(web_url, headers=headers).content
    2222        #html = self.request(web_url, cookie_file=/mnt/network/cookies, cloudflare=True)
Note: See TracChangeset for help on using the changeset viewer.