summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/Extractor.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 17:20:59 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 17:20:59 +0200
commite00ef98491f79ae8aa972ae1473dae4a7b78c07e (patch)
tree31be0c7cdcebb61525bcc387bcf15d265a1c494a /pyload/plugin/Extractor.py
parentFix except (diff)
downloadpyload-e00ef98491f79ae8aa972ae1473dae4a7b78c07e.tar.xz
Cleanup
Diffstat (limited to 'pyload/plugin/Extractor.py')
-rw-r--r--pyload/plugin/Extractor.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/pyload/plugin/Extractor.py b/pyload/plugin/Extractor.py
index 80f123a52..decb332fd 100644
--- a/pyload/plugin/Extractor.py
+++ b/pyload/plugin/Extractor.py
@@ -36,17 +36,23 @@ class Extractor:
@classmethod
+
+
def isArchive(cls, filename):
name = os.path.basename(filename).lower()
return any(name.endswith(ext) for ext in cls.EXTENSIONS)
@classmethod
+
+
def isMultipart(cls, filename):
return False
@classmethod
+
+
def isUsable(cls):
""" Check if system statisfy dependencies
:return: boolean
@@ -55,6 +61,8 @@ class Extractor:
@classmethod
+
+
def getTargets(cls, files_ids):
""" Filter suited targets from list of filename id tuple list
:param files_ids: List of filepathes
@@ -111,6 +119,7 @@ class Extractor:
"""
raise NotImplementedError
+
def verify(self):
"""Testing with Extractors buildt-in method
Raises error if password is needed, integrity is questionable or else.