summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/internal/Extractor.py5
-rw-r--r--module/plugins/internal/SimpleCrypter.py8
-rw-r--r--module/plugins/internal/SimpleHoster.py8
3 files changed, 5 insertions, 16 deletions
diff --git a/module/plugins/internal/Extractor.py b/module/plugins/internal/Extractor.py
index a8002a1d2..005bfbfd5 100644
--- a/module/plugins/internal/Extractor.py
+++ b/module/plugins/internal/Extractor.py
@@ -35,7 +35,7 @@ class PasswordError(Exception):
class Extractor(Plugin):
__name__ = "Extractor"
__type__ = "extractor"
- __version__ = "0.36"
+ __version__ = "0.37"
__status__ = "testing"
__description__ = """Base extractor plugin"""
@@ -93,6 +93,7 @@ class Extractor(Plugin):
overwrite=False,
excludefiles=[],
renice=False,
+ priority=0,
keepbroken=False,
fid=None):
"""
@@ -106,7 +107,7 @@ class Extractor(Plugin):
self.fullpath = fullpath
self.overwrite = overwrite
self.excludefiles = excludefiles
- self.priority = int(priority)
+ self.priority = priority
self.keepbroken = keepbroken
self.files = [] #: Store extracted files here
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py
index 231fb8810..8692d09ef 100644
--- a/module/plugins/internal/SimpleCrypter.py
+++ b/module/plugins/internal/SimpleCrypter.py
@@ -10,7 +10,7 @@ from module.plugins.internal.utils import replace_patterns, set_cookie, set_cook
class SimpleCrypter(Crypter):
__name__ = "SimpleCrypter"
__type__ = "crypter"
- __version__ = "0.72"
+ __version__ = "0.73"
__status__ = "testing"
__pattern__ = r'^unmatchable$'
@@ -107,12 +107,6 @@ class SimpleCrypter(Crypter):
except Exception:
pass
- if pyreq.code in (404, 410):
- info['status'] = 1
-
- elif pyreq.code == 503:
- info['status'] = 6
-
if html:
if cls.OFFLINE_PATTERN and re.search(cls.OFFLINE_PATTERN, html) is not None:
info['status'] = 1
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index 248c619a2..b434c55ae 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -17,7 +17,7 @@ from module.plugins.internal.utils import (encode, fixup, parse_name, parse_size
class SimpleHoster(Hoster):
__name__ = "SimpleHoster"
__type__ = "hoster"
- __version__ = "2.01"
+ __version__ = "2.02"
__status__ = "testing"
__pattern__ = r'^unmatchable$'
@@ -152,12 +152,6 @@ class SimpleHoster(Hoster):
except Exception:
pass
- if pyreq.code in (404, 410):
- info['status'] = 1
-
- elif pyreq.code == 503:
- info['status'] = 6
-
if html:
if cls.OFFLINE_PATTERN and re.search(cls.OFFLINE_PATTERN, html) is not None:
info['status'] = 1