diff options
Diffstat (limited to 'module/plugins/hoster/ZShareNet.py')
-rw-r--r-- | module/plugins/hoster/ZShareNet.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/module/plugins/hoster/ZShareNet.py b/module/plugins/hoster/ZShareNet.py index d3453ee5e..6ef456d97 100644 --- a/module/plugins/hoster/ZShareNet.py +++ b/module/plugins/hoster/ZShareNet.py @@ -11,9 +11,9 @@ class ZShareNet(Hoster): __name__ = "ZShareNet" __type__ = "hoster" __pattern__ = r"http://[\w\.]*?zshare\.net/(download|video|image|audio|flash)/.*" - __version__ = "0.1" + __version__ = "0.2" __description__ = """ZShareNet Download Hoster""" - __author_name__ = ("espes") + __author_name__ = ("espes","Cptn Sandwich") def setup(self): self.multiDL = False @@ -22,6 +22,8 @@ class ZShareNet(Hoster): def process(self, pyfile): self.pyfile = pyfile + self.pyfile.url = re.sub("(video|image|audio|flash)","download",self.pyfile.url) + self.html = self.load(pyfile.url) if "File Not Found" in self.html: self.offline() @@ -65,4 +67,4 @@ class ZShareNet(Hoster): if check == "unav": self.fail("Plugin defect") elif check == "404": - self.offline()
\ No newline at end of file + self.offline() |