summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Arno-Nymous <Arno-Nymous@users.noreply.github.com> 2016-05-02 19:28:29 +0200
committerGravatar Arno-Nymous <Arno-Nymous@users.noreply.github.com> 2016-05-02 19:32:03 +0200
commit899785de1db6d580a546bbca5aecc1246c2a9b12 (patch)
tree2fc44769fb46e298e6d156e22a886111626f4976 /module
parent[EuroshareEu] Fix #2446 (diff)
downloadpyload-899785de1db6d580a546bbca5aecc1246c2a9b12.tar.xz
[UnRar] Fix problem with password protected archives
Some tiny error in a regular expression caused unexpected behavior with password protected archives
Diffstat (limited to 'module')
-rw-r--r--module/plugins/internal/UnRar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py
index 07f3b0f23..3b1d7b290 100644
--- a/module/plugins/internal/UnRar.py
+++ b/module/plugins/internal/UnRar.py
@@ -28,7 +28,7 @@ class UnRar(Extractor):
_RE_PART = re.compile(r'\.(part|r)\d+(\.rar|\.rev)?(\.bad)?', re.I)
_RE_FIXNAME = re.compile(r'Building (.+)')
- _RE_FILES = re.compile(r'^(.)(\s*[\w\-.]+)\s+(\d+\s+)+(?:\d+\%\s+)?[\d\-]{8}\s+[\d\:]{5}', re.I | re.M)
+ _RE_FILES = re.compile(r'^(.)(\s*[\w\-.]+)\s+(\d+\s+)+(?:\d+\%\s+)?[\d\-]{8,}\s+[\d\:]{5}', re.I | re.M)
_RE_BADPWD = re.compile(r'password', re.I)
_RE_BADCRC = re.compile(r'encrypted|damaged|CRC failed|checksum error|corrupt', re.I)
_RE_VERSION = re.compile(r'(?:UN)?RAR\s(\d+\.\d+)', re.I)