NZB/Torrent provider base
This commit is contained in:
1 parent
3833b6ead1
commit
05f6d57ea3
21 files changed
+395
-73
No files matched your search
@@ -8,3 +8,25 @@ class Provider(Plugin):
|
||||
|
||||
type = None # movie, nzb, torrent, subtitle, trailer
|
||||
timeout = 10 # Default timeout for url requests
|
||||
|
||||
|
||||
class MovieProvider(Provider):
|
||||
type = 'movie'
|
||||
|
||||
|
||||
class NZBProvider(Provider):
|
||||
type = 'nzb'
|
||||
|
||||
time_between_searches = 10 # Seconds
|
||||
|
||||
|
||||
class TorrentProvider(Provider):
|
||||
type = 'torrent'
|
||||
|
||||
|
||||
class SubtitleProvider(Provider):
|
||||
type = 'subtitle'
|
||||
|
||||
|
||||
class TrailerProvider(Provider):
|
||||
type = 'trailer'
|
||||
Reference in new issue
Block a user