summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegaFilesSe.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/MegaFilesSe.py')
-rw-r--r--module/plugins/hoster/MegaFilesSe.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/module/plugins/hoster/MegaFilesSe.py b/module/plugins/hoster/MegaFilesSe.py
index a26d8fff3..8a79b51e4 100644
--- a/module/plugins/hoster/MegaFilesSe.py
+++ b/module/plugins/hoster/MegaFilesSe.py
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
-from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+from module.plugins.internal.DeadHoster import DeadHoster, create_getInfo
-class MegaFilesSe(XFileSharingPro):
+class MegaFilesSe(DeadHoster):
__name__ = "MegaFilesSe"
__type__ = "hoster"
- __version__ = "0.01"
+ __version__ = "0.02"
__pattern__ = r'http://(?:www\.)?megafiles\.se/\w{12}'
@@ -14,10 +14,5 @@ class MegaFilesSe(XFileSharingPro):
__author_name__ = "t4skforce"
__author_mail__ = "t4skforce1337[AT]gmail[DOT]com"
- HOSTER_NAME = "megafiles.se"
-
- OFFLINE_PATTERN = r'><font[^>]*>File Not Found'
- FILE_NAME_PATTERN = r'<div[^>]+>\s*<b>(?P<N>[^<]+)</b>\s*</div>'
-
getInfo = create_getInfo(MegaFilesSe)