Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self):
TorrentProvider.__init__(self, 'TitansOfTV')
self.supports_absolute_numbering = True
self.api_key = None
self.ratio = None
self.cache = TitansOfTVCache(self)
self.url = 'http://titansof.tv/api/torrents'
self.download_url = 'http://titansof.tv/api/torrents/%s/download?apikey=%s'
def __init__(self):
TorrentProvider.__init__(self, "Strike")
self.public = True
self.url = 'https://getstrike.net/'
params = {'RSS': ['x264']} # Use this hack for RSS search since most results will use this codec
self.cache = tvcache.TVCache(self, min_time=10, search_params=params)
self.minseed, self.minleech = 2 * [None]
def __init__(self):
# Provider Init
TorrentProvider.__init__(self, 'SceneElite')
# Credentials
self.username = None
self.password = None
# Torrent Stats
self.minseed = None
self.minleech = None
self.freeleech = None
# URLs
self.url = 'https://sceneelite.org/'
self.urls = {
'login': urljoin(self.url, '/api/v1/auth'),
'search': urljoin(self.url, '/api/v1/torrents'),
'download': urljoin(self.url, '/api/v1/torrents/download/'),
def __init__(self):
# Provider Init
TorrentProvider.__init__(self, 'ExtraTorrent')
# Credentials
self.public = True
# URLs
self.url = 'http://extratorrent.cc'
self.urls = {
'base': self.url,
'rss': urljoin(self.url, 'rss.xml'),
}
self.custom_url = None
# Proper Strings
# Miscellaneous Options
self.headers.update({'User-Agent': USER_AGENT})
def __init__(self):
# Provider Init
TorrentProvider.__init__(self, "PhxBit")
# Credentials
self.username = None
self.password = None
# Torrent Stats
self.minseed = None
self.minleech = None
# URLs
self.url = 'https://phxbit.com'
self.urls = {
'login': urljoin(self.url, '/connect.php'),
'search': urljoin(self.url, '/sphinx.php')
}
def __init__(self):
TorrentProvider.__init__(self, "BitSoup")
self.urls = {
'base_url': 'https://www.bitsoup.me',
'login': 'https://www.bitsoup.me/takelogin.php',
'detail': 'https://www.bitsoup.me/details.php?id=%s',
'search': 'https://www.bitsoup.me/browse.php',
'download': 'https://bitsoup.me/%s',
}
self.url = self.urls['base_url']
self.username = None
self.password = None
self.minseed = None
self.minleech = None