def __init__(self, *args, **vars):
     self.logger = tvdb_logger('declient')
     super(w2p_Deluge, self).__init__(*args, **vars)
     self.access_settings()
     self.req = req.Session()
     self.req.headers =  {'User-Agent' : 'w2p_tvdb',
                    'Content-Type' : 'application/json'
                    }
Esempio n. 2
0
 def __init__(self):
     self.logger = tvdb_logger('torrent')
     self.req = req.Session()
     self.req.headers = {'User-Agent' : 'w2p_tvdb'}
     self.magnetr = re.compile(r'xt=urn:btih:([\w]{40})&')
     self.magnetdnr = re.compile(r'&dn=.*')
Esempio n. 3
0
 def __init__(self):
     self.logger = tvdb_logger('feeds')
     self.req = req.Session()
     self.req.headers = {'User-Agent' : 'w2p_tvdb'}
     self.meddler = Meddler()
     self.errors = None
Esempio n. 4
0
 def __init__(self):
     self.logger = tvdb_logger('xbmc')
 def __init__(self, verbose=False):
     self.logger = tvdb_logger('subs')
     self.req = req.Session()
     self.req.headers = {'User-Agent' : 'w2p_tvseries v0.2'}
     self.verbose = verbose
 def __init__(self, verbose=False):
     self.logger = tvdb_logger('subs')
     self.req = req.Session()
     self.req.headers = {'User-Agent': 'w2p_tvseries v0.2'}
     self.verbose = verbose
 def __init__(self):
     self.logger = tvdb_logger('xbmc')
 def __init__(self, *args, **vars):
     self.logger = tvdb_logger('trclient')
     super(w2p_Transmission, self).__init__(*args, **vars)
     self.access_settings()
 def __init__(self, *args, **vars):
     self.logger = tvdb_logger('utclient')
     super(w2p_Utorrent, self).__init__(*args, **vars)
     self.access_settings()
     self.req = req.Session()
     self.req.headers = {'User-Agent' : 'w2p_tvdb'}