summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/MegaDebridEu.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-10 19:07:53 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-10 19:07:53 +0100
commit2439bc22671dde697817291b721bfddb792a93b4 (patch)
treedad4615b7f1d664263af6a85392282329aa0b8e0 /pyload/plugins/hoster/MegaDebridEu.py
parentRevert plugin directory structure (diff)
downloadpyload-2439bc22671dde697817291b721bfddb792a93b4.tar.xz
Fix plugins key attributes
Diffstat (limited to 'pyload/plugins/hoster/MegaDebridEu.py')
-rw-r--r--pyload/plugins/hoster/MegaDebridEu.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugins/hoster/MegaDebridEu.py b/pyload/plugins/hoster/MegaDebridEu.py
index 848651d1f..5eac2a41d 100644
--- a/pyload/plugins/hoster/MegaDebridEu.py
+++ b/pyload/plugins/hoster/MegaDebridEu.py
@@ -9,15 +9,15 @@ from pyload.plugins.Hoster import Hoster
class MegaDebridEu(Hoster):
- __name__ = "MegaDebridEu"
- __type__ = "hoster"
- __version__ = "0.40"
+ __name = "MegaDebridEu"
+ __type = "hoster"
+ __version = "0.40"
- __pattern__ = r'^https?://(?:w{3}\d+\.mega-debrid\.eu|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/download/file/[^/]+/.+$'
+ __pattern = r'^https?://(?:w{3}\d+\.mega-debrid\.eu|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/download/file/[^/]+/.+$'
- __description__ = """mega-debrid.eu hoster plugin"""
- __license__ = "GPLv3"
- __authors__ = [("D.Ducatel", "dducatel@je-geek.fr")]
+ __description = """mega-debrid.eu hoster plugin"""
+ __license = "GPLv3"
+ __authors = [("D.Ducatel", "dducatel@je-geek.fr")]
API_URL = "https://www.mega-debrid.eu/api.php"
@@ -31,7 +31,7 @@ class MegaDebridEu(Hoster):
def process(self, pyfile):
- if re.match(self.__pattern__, pyfile.url):
+ if re.match(self.__pattern, pyfile.url):
new_url = pyfile.url
elif not self.account:
self.exitOnFail("Please enter your %s account or deactivate this plugin" % "Mega-debrid.eu")