Ejemplo n.º 1
0
 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'
                    }
Ejemplo 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=.*')
Ejemplo 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
Ejemplo n.º 4
0
 def __init__(self):
     self.logger = tvdb_logger('xbmc')
Ejemplo n.º 5
0
 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
Ejemplo n.º 6
0
 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')
Ejemplo n.º 8
0
 def __init__(self, *args, **vars):
     self.logger = tvdb_logger('trclient')
     super(w2p_Transmission, self).__init__(*args, **vars)
     self.access_settings()
Ejemplo n.º 9
0
 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'}