diff options
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/crypter/SerienjunkiesOrg.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/module/plugins/crypter/SerienjunkiesOrg.py b/module/plugins/crypter/SerienjunkiesOrg.py index 4510d7e7f..193f6b417 100644 --- a/module/plugins/crypter/SerienjunkiesOrg.py +++ b/module/plugins/crypter/SerienjunkiesOrg.py @@ -32,6 +32,7 @@ class SerienjunkiesOrg(Crypter): "df": "DepositfilesCom", "es": "EasyshareCom", "kl": "KickloadCom", + "fc": "FilesonicCom", } self.hosterMapReverse = dict((v,k) for k, v in self.hosterMap.iteritems()) @@ -45,6 +46,13 @@ class SerienjunkiesOrg(Crypter): src = self.req.load(str(url)) return src + def handleShow(self, url): + src = self.getSJSrc(url) + soup = BeautifulSoup(src) + nav = soup.find("div", attrs={"id": "scb"}) + for a in nav.findAll("a"): + self.packages.append((unescape(a.text), [a["href"]], unescape(a.text))) + def handleSeason(self, url): src = self.getSJSrc(url) soup = BeautifulSoup(src) @@ -182,6 +190,6 @@ class SerienjunkiesOrg(Crypter): elif oldStyleLink.match(url): self.handleOldStyleLink(url) elif showPattern.match(url): - pass + self.handleShow(url) elif seasonPattern.match(url): self.handleSeason(url) |