summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FilesMailRu.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/FilesMailRu.py')
-rw-r--r--module/plugins/hoster/FilesMailRu.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/module/plugins/hoster/FilesMailRu.py b/module/plugins/hoster/FilesMailRu.py
index b24db62b0..66f715962 100644
--- a/module/plugins/hoster/FilesMailRu.py
+++ b/module/plugins/hoster/FilesMailRu.py
@@ -70,19 +70,25 @@ class FilesMailRu(Hoster):
def prepare(self):
- """You have to wait some seconds. Otherwise you will get a 40Byte HTML Page instead of the file you expected"""
+ """
+ You have to wait some seconds. Otherwise you will get a 40Byte HTML Page instead of the file you expected
+ """
self.setWait(10)
self.wait()
return True
def getFileUrl(self):
- """gives you the URL to the file. Extracted from the Files.mail.ru HTML-page stored in self.html"""
+ """
+ Gives you the URL to the file. Extracted from the Files.mail.ru HTML-page stored in self.html
+ """
return re.search(self.url_pattern, self.html).group(0).split('<a href="')[1].split('" onclick="return Act')[0]
def getFileName(self):
- """gives you the Name for each file. Also extracted from the HTML-Page"""
+ """
+ Gives you the Name for each file. Also extracted from the HTML-Page
+ """
return re.search(self.url_pattern, self.html).group(0).split(', event)">')[1].split('</a>')[0]