From f972fe6894fecb29cca022813db95764d05d0114 Mon Sep 17 00:00:00 2001
From: Christopher <4Christopher@gmx.de>
Date: Thu, 21 Feb 2013 21:33:09 +0100
Subject: Fixed crypter HoerbuchIn to match all URLs.
I know that the regular expression is not perfect but it worked very reliable.
---
module/plugins/crypter/HoerbuchIn.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
(limited to 'module/plugins/crypter')
diff --git a/module/plugins/crypter/HoerbuchIn.py b/module/plugins/crypter/HoerbuchIn.py
index 4c26ba7f7..860f80152 100644
--- a/module/plugins/crypter/HoerbuchIn.py
+++ b/module/plugins/crypter/HoerbuchIn.py
@@ -46,10 +46,11 @@ class HoerbuchIn(Crypter):
src = self.req.load(url, post={"viewed": "adpg"})
links = []
- pattern = re.compile("http://www\.hoerbuch\.in/protection/(\w+)/(.*?)\"")
- for hoster, lid in pattern.findall(src):
+ pattern = re.compile(r'
Date: Fri, 22 Feb 2013 18:05:23 +0100
Subject: incremented version number
---
module/plugins/crypter/HoerbuchIn.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
(limited to 'module/plugins/crypter')
diff --git a/module/plugins/crypter/HoerbuchIn.py b/module/plugins/crypter/HoerbuchIn.py
index 860f80152..6f23b2eb9 100644
--- a/module/plugins/crypter/HoerbuchIn.py
+++ b/module/plugins/crypter/HoerbuchIn.py
@@ -10,7 +10,7 @@ class HoerbuchIn(Crypter):
__name__ = "HoerbuchIn"
__type__ = "container"
__pattern__ = r"http://(www\.)?hoerbuch\.in/(wp/horbucher/\d+/.+/|tp/out.php\?.+|protection/folder_\d+\.html)"
- __version__ = "0.6"
+ __version__ = "0.7"
__description__ = """Hoerbuch.in Container Plugin"""
__author_name__ = ("spoob", "mkaay")
__author_mail__ = ("spoob@pyload.org", "mkaay@mkaay.de")
@@ -50,7 +50,6 @@ class HoerbuchIn(Crypter):
for hoster_url in pattern.findall(src):
self.req.lastURL = url
self.load(hoster_url)
- self.logInfo("2 %s, %s" % (hoster_url, self.req.lastEffectiveURL))
links.append(self.req.lastEffectiveURL)
return links
--
cgit v1.2.3