Ignore:
Timestamp:
01/02/17 00:58:02 (5 years ago)
Author:
obi
Message:

use same user-agent

File:
1 edited

Legend:

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

    r39427 r39604  
    1818
    1919    def get_answer_code(self, web_url):
    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'}                 
     20        headers = {'User-Agent': common.FF_USER_AGENT}                 
    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.