summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/crypter/RelinkUs.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 03:40:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 03:40:45 +0100
commitfcead1870013b6a970eca7878a66dbe783c80ea3 (patch)
tree9837d3b2cacba2f5d1a4c620b1cd02f26571b454 /pyload/plugin/crypter/RelinkUs.py
parentInit cosmetics (diff)
downloadpyload-fcead1870013b6a970eca7878a66dbe783c80ea3.tar.xz
Diffstat (limited to 'pyload/plugin/crypter/RelinkUs.py')
-rw-r--r--pyload/plugin/crypter/RelinkUs.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugin/crypter/RelinkUs.py b/pyload/plugin/crypter/RelinkUs.py
index 1773f6a22..1e0f8e371 100644
--- a/pyload/plugin/crypter/RelinkUs.py
+++ b/pyload/plugin/crypter/RelinkUs.py
@@ -12,17 +12,17 @@ from pyload.plugin.Crypter import Crypter
class RelinkUs(Crypter):
- __name = "RelinkUs"
- __type = "crypter"
- __version = "3.11"
+ __name__ = "RelinkUs"
+ __type__ = "crypter"
+ __version__ = "3.11"
- __pattern = r'http://(?:www\.)?relink\.us/(f/|((view|go)\.php\?id=))(?P<id>.+)'
- __config = [("use_subfolder", "bool", "Save package to subfolder", True),
+ __pattern__ = r'http://(?:www\.)?relink\.us/(f/|((view|go)\.php\?id=))(?P<id>.+)'
+ __config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
("subfolder_per_package", "bool", "Create a subfolder for each package", True)]
- __description = """Relink.us decrypter plugin"""
- __license = "GPLv3"
- __authors = [("fragonib", "fragonib[AT]yahoo[DOT]es"),
+ __description__ = """Relink.us decrypter plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("fragonib", "fragonib[AT]yahoo[DOT]es"),
("AndroKev", "neureither.kevin@gmail.com")]
@@ -100,7 +100,7 @@ class RelinkUs(Crypter):
def initPackage(self, pyfile):
- self.fileid = re.match(self.__pattern, pyfile.url).group('id')
+ self.fileid = re.match(self.__pattern__, pyfile.url).group('id')
self.package = pyfile.package()
self.password = self.getPassword()