summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-05-02 20:17:57 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-05-02 20:17:57 +0200
commit34c42a201e240def7e3d8721006731eebd11be46 (patch)
tree2fc44769fb46e298e6d156e22a886111626f4976
parent[EuroshareEu] Fix #2446 (diff)
parent[UnRar] Fix problem with password protected archives (diff)
downloadpyload-34c42a201e240def7e3d8721006731eebd11be46.tar.xz
Merge pull request #2449 from Arno-Nymous/unrar-regex-typo
Regex typo leads to packages not being extracted with Unrar.py
-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)