summaryrefslogtreecommitdiffstats
path: root/Plugins/ZippyshareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/ZippyshareCom.py')
-rw-r--r--Plugins/ZippyshareCom.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Plugins/ZippyshareCom.py b/Plugins/ZippyshareCom.py
index 59bce0623..d0f27fd53 100644
--- a/Plugins/ZippyshareCom.py
+++ b/Plugins/ZippyshareCom.py
@@ -6,7 +6,7 @@ from time import time
from Plugin import Plugin
class ZippyshareCom(Plugin):
-
+
def __init__(self, parent):
Plugin.__init__(self, parent)
props = {}
@@ -22,12 +22,12 @@ class ZippyshareCom(Plugin):
self.html = None
self.want_reconnect = False
self.multi_dl = False
-
+
def download_html(self):
url = self.parent.url
self.html = self.req.load(url)
self.time_plus_wait = time() + 12
-
+
def get_file_url(self):
""" returns the absolute downloadable filepath
"""
@@ -38,7 +38,7 @@ class ZippyshareCom(Plugin):
return file_url
else:
return False
-
+
def get_file_name(self):
if self.html == None:
self.download_html()
@@ -48,13 +48,13 @@ class ZippyshareCom(Plugin):
return file_name
else:
return self.parent.url
-
+
def file_exists(self):
- """ returns True or False
+ """ returns True or False
"""
if self.html == None:
self.download_html()
if re.search(r"HTTP Status 404", self.html) != None:
return False
else:
- return True
+ return True \ No newline at end of file