diff options
author | Ivo Buff <kagenoshin@gmx.ch> | 2013-07-21 12:35:39 +0200 |
---|---|---|
committer | Ivo Buff <kagenoshin@gmx.ch> | 2013-07-21 12:35:39 +0200 |
commit | b57439b737a749bf40f62662b6c4434331cc79b0 (patch) | |
tree | b485b52d50122c8911eeee0322529d9316a55103 | |
parent | Simplydebrid: renamed to standard (diff) | |
download | pyload-b57439b737a749bf40f62662b6c4434331cc79b0.tar.xz |
More link transformation
Added all link transformations I got from the support
-rw-r--r-- | module/plugins/hoster/SimplydebridCom.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/module/plugins/hoster/SimplydebridCom.py b/module/plugins/hoster/SimplydebridCom.py index 2dcbd0f21..f13b16ae0 100644 --- a/module/plugins/hoster/SimplydebridCom.py +++ b/module/plugins/hoster/SimplydebridCom.py @@ -31,6 +31,15 @@ class SimplydebridCom(Hoster): new_url = pyfile.url new_url = new_url.replace("clz.to", "cloudzer.net/file") new_url = new_url.replace("http://share-online", "http://www.share-online") + new_url = new_url.replace("ul.to", "uploaded.net/file") + new_url = new_url.replace("uploaded.com", "uploaded.net") + new_url = new_url.replace("filerio.com", "filerio.in") + new_url = new_url.replace("lumfile.com", "lumfile.se") + if('fileparadox' in new_url): + new_url = new_url.replace("http://", "https://") + + if re.match(self.__pattern__, new_url): + new_url = new_url if not re.match(self.__pattern__, new_url): page = self.load('http://simply-debrid.com/api.php', get={'dl': new_url}) #+'&u='+self.user+'&p='+self.account.getAccountData(self.user)['password']) |