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.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/module/plugins/hoster/FilesMailRu.py b/module/plugins/hoster/FilesMailRu.py
index 34998726d..eda3a1714 100644
--- a/module/plugins/hoster/FilesMailRu.py
+++ b/module/plugins/hoster/FilesMailRu.py
@@ -72,14 +72,11 @@ class FilesMailRu(Hoster):
def getFileUrl(self):
"""gives you the URL to the file. Extracted from the Files.mail.ru HTML-page stored in self.html"""
- file_url = re.search(self.url_pattern, self.html).group(0).split('<a href="')[1].split('" onclick="return Act')[
- 0]
- return file_url
+ 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"""
- file_name = re.search(self.url_pattern, self.html).group(0).split(', event)">')[1].split('</a>')[0]
- return file_name
+ return re.search(self.url_pattern, self.html).group(0).split(', event)">')[1].split('</a>')[0]
def myPostProcess(self):
# searches the file for HTMl-Code. Sometimes the Redirect