summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FilesMailRu.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-17 18:29:50 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:42:29 +0200
commit164512b6a74c94a731fcee7435dce1ccfa2f71e7 (patch)
tree3f61d3b83f641070145b478f54522c4fe2e63691 /module/plugins/hoster/FilesMailRu.py
parentSpare fixes (diff)
downloadpyload-164512b6a74c94a731fcee7435dce1ccfa2f71e7.tar.xz
Spare code cosmetics
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]