diff options
Diffstat (limited to 'pyload/plugin/Extractor.py')
-rw-r--r-- | pyload/plugin/Extractor.py | 9 |
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. |