From 1d74a9dcb91d16929a65a24d81ec441874ce4976 Mon Sep 17 00:00:00 2001 From: mkaay Date: Fri, 5 Nov 2010 16:45:06 +0100 Subject: sj fix --- module/plugins/Crypter.py | 3 +++ module/plugins/crypter/SerienjunkiesOrg.py | 13 +++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'module/plugins') diff --git a/module/plugins/Crypter.py b/module/plugins/Crypter.py index ef8d0cfd0..123c26eec 100644 --- a/module/plugins/Crypter.py +++ b/module/plugins/Crypter.py @@ -36,6 +36,9 @@ class Crypter(Plugin): """ Put all packages here. It's a list of tuples like: ( name, [list of links], folder ) """ self.packages = [] + + self.multiDL = True + self.setup() #---------------------------------------------------------------------- def preprocessing(self, thread): diff --git a/module/plugins/crypter/SerienjunkiesOrg.py b/module/plugins/crypter/SerienjunkiesOrg.py index b12ca49c8..709bc7630 100644 --- a/module/plugins/crypter/SerienjunkiesOrg.py +++ b/module/plugins/crypter/SerienjunkiesOrg.py @@ -10,8 +10,8 @@ class SerienjunkiesOrg(Crypter): __name__ = "SerienjunkiesOrg" __type__ = "container" __pattern__ = r"http://.*?serienjunkies.org/.*?" - __version__ = "0.2" - __config__ = [ ("preferredHoster", "str", "preferred hoster" , "RapidshareCom,UploadedTo,NetloadIn,FilefactoryCom") ] + __version__ = "0.3" + __config__ = [ ("preferredHoster", "str", "preferred hoster" , "RapidshareCom,UploadedTo,NetloadIn,FilefactoryCom,FreakshareNet,FilebaseTo,MegauploadCom,HotfileCom,DepositfilesCom,EasyshareCom,KickloadCom") ] __description__ = """serienjunkies.org Container Plugin""" __author_name__ = ("mkaay") __author_mail__ = ("mkaay@mkaay.de") @@ -23,9 +23,18 @@ class SerienjunkiesOrg(Crypter): "ut": "UploadedTo", "ul": "UploadedTo", "nl": "NetloadIn", + "fs": "FreakshareNet", + "fb": "FilebaseTo", + "mu": "MegauploadCom", + "hf": "HotfileCom", + "df": "DepositfilesCom", + "es": "EasyshareCom", + "kl": "KickloadCom", } self.hosterMapReverse = dict((v,k) for k, v in self.hosterMap.iteritems()) + self.multiDL = False + def getSJSrc(self, url): src = self.req.load(str(url)) if not src.find("Enter Serienjunkies") == -1: -- cgit v1.2.3