diff options
author | godofdream <soilfiction@gmail.com> | 2012-08-06 17:48:55 +0200 |
---|---|---|
committer | godofdream <soilfiction@gmail.com> | 2012-08-06 17:48:55 +0200 |
commit | c25be987a3a8d536b8323455828b83f66870d81d (patch) | |
tree | 2bd7a235925b36489dd72d259bf9d57ae10217bb /module/plugins/crypter | |
parent | update czshare, warsever.cz (diff) | |
download | pyload-c25be987a3a8d536b8323455828b83f66870d81d.tar.xz |
update Freakshare, IcyFiles, Zippyshare, C1neon, FshareVn-Ac, Filefactory-Ac
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r-- | module/plugins/crypter/C1neonCom.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/module/plugins/crypter/C1neonCom.py b/module/plugins/crypter/C1neonCom.py index e9861ab54..1a0c3c90f 100644 --- a/module/plugins/crypter/C1neonCom.py +++ b/module/plugins/crypter/C1neonCom.py @@ -24,7 +24,7 @@ class C1neonCom(Crypter): __name__ = "C1neonCom" __type__ = "container" __pattern__ = r"http://(www\.)?c1neon.com/.*?" - __version__ = "0.02" + __version__ = "0.03" __config__ = [ ("changeNameS", "Packagename;Show;Season;Episode", "Rename Show by", "Show"), ("changeName", "Packagename;Movie", "Rename Movie by", "Movie"), @@ -99,8 +99,11 @@ class C1neonCom(Crypter): #selects the preferred hoster, after that selects any hoster (ignoring the one to ignore) #selects only one Hoster def getpreferred(self, hosterslist): - hosterlist = hosterslist['d'] - if self.getConfig("useStreams"): + if hosterslist['u'] is not None: + hosterlist = hosterslist['u'] + if hosterslist['d'] is not None: + hosterlist.append(hosterslist['d']) + if self.getConfig("useStreams") and hosterslist['s'] is not None: hosterlist.append(hosterslist['s']) result = [] |