summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-13 23:38:04 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-13 23:38:04 +0100
commite0338975e9404ba66a86d6a004db595d087b1039 (patch)
tree3eaaace8ec3115327c2ad41b34b32187da58d71a
parent[SimpleHoster] Improve error handling (diff)
downloadpyload-e0338975e9404ba66a86d6a004db595d087b1039.tar.xz
[SimpleCrypter] Fix new getLinks routine
-rw-r--r--module/plugins/internal/SimpleCrypter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py
index 9f8eb2f7e..2e2f2ca0d 100644
--- a/module/plugins/internal/SimpleCrypter.py
+++ b/module/plugins/internal/SimpleCrypter.py
@@ -12,7 +12,7 @@ from module.utils import fixup
class SimpleCrypter(Crypter, SimpleHoster):
__name__ = "SimpleCrypter"
__type__ = "crypter"
- __version__ = "0.40"
+ __version__ = "0.41"
__pattern__ = r'^unmatchable$'
__config__ = [("use_subfolder", "bool", "Save package to subfolder", True), #: Overrides core.config['general']['folder_per_package']
@@ -155,7 +155,7 @@ class SimpleCrypter(Crypter, SimpleHoster):
base = "%s://%s" % (parsed.scheme, parsed.netloc)
return [urljoin(base, link) if not urlparse(link).scheme else link \
- for link in re.finditer(self.LINK_PATTERN, self.html)]
+ for link in re.findall(self.LINK_PATTERN, self.html)]
def handlePages(self, pyfile):