summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-02-24 17:48:30 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-02-24 17:48:30 +0100
commit5a29d99940fc437f5d234d0360413904086d3ef2 (patch)
tree3e9ac74b46ca4255d9973ea093f9c38d60b21cb4 /module
parentadded confirm dialogs (diff)
parentMerge pull request #10 from 4Christopher/master (diff)
downloadpyload-5a29d99940fc437f5d234d0360413904086d3ef2.tar.xz
Merge branch 'master' of github.com:pyload/pyload
Diffstat (limited to 'module')
-rw-r--r--module/plugins/crypter/HoerbuchIn.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/crypter/HoerbuchIn.py b/module/plugins/crypter/HoerbuchIn.py
index 4c26ba7f7..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")
@@ -46,10 +46,10 @@ 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'<div class="container"><a href="(.*?)"')
+ for hoster_url in pattern.findall(src):
self.req.lastURL = url
- self.load("http://www.hoerbuch.in/protection/%s/%s" % (hoster, lid))
+ self.load(hoster_url)
links.append(self.req.lastEffectiveURL)
return links