How to use the sickrage.providers.torrent.TorrentProvider.TorrentProvider.__init__ function in sickrage

To help you get started, we’ve selected a few sickrage examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pymedusa / Medusa / sickbeard / providers / titansoftv.py View on Github external
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'
github pymedusa / Medusa / sickbeard / providers / strike.py View on Github external
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]
github pymedusa / Medusa / sickbeard / providers / sceneelite.py View on Github external
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/'),
github pymedusa / Medusa / sickbeard / providers / torrent / xml / extratorrent.py View on Github external
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})
github pymedusa / Medusa / sickbeard / providers / phxbit.py View on Github external
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')
        }
github pymedusa / Medusa / sickbeard / providers / bitsoup.py View on Github external
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