From d60040cdc406b0541f0b3f9681a09894f845ba2b Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 13 Apr 2015 10:29:55 +0200 Subject: Revert 486adc1874e463b1563ad2394b216faff388b10d --- pyload/plugin/hoster/BitshareCom.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'pyload/plugin/hoster/BitshareCom.py') diff --git a/pyload/plugin/hoster/BitshareCom.py b/pyload/plugin/hoster/BitshareCom.py index 56beb7353..afea970eb 100644 --- a/pyload/plugin/hoster/BitshareCom.py +++ b/pyload/plugin/hoster/BitshareCom.py @@ -9,16 +9,16 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster class BitshareCom(SimpleHoster): - __name__ = "BitshareCom" - __type__ = "hoster" - __version__ = "0.53" + __name = "BitshareCom" + __type = "hoster" + __version = "0.53" - __pattern__ = r'http://(?:www\.)?bitshare\.com/(files/)?(?(1)|\?f=)(?P\w+)(?(1)/(?P.+?)\.html)' - __config__ = [("use_premium", "bool", "Use premium account if available", True)] + __pattern = r'http://(?:www\.)?bitshare\.com/(files/)?(?(1)|\?f=)(?P\w+)(?(1)/(?P.+?)\.html)' + __config = [("use_premium", "bool", "Use premium account if available", True)] - __description__ = """Bitshare.com hoster plugin""" - __license__ = "GPLv3" - __authors__ = [("Paul King", ""), + __description = """Bitshare.com hoster plugin""" + __license = "GPLv3" + __authors = [("Paul King", ""), ("fragonib", "fragonib[AT]yahoo[DOT]es")] @@ -41,7 +41,7 @@ class BitshareCom(SimpleHoster): self.account.relogin(self.user) # File id - m = re.match(self.__pattern__, pyfile.url) + m = re.match(self.__pattern, pyfile.url) self.file_id = max(m.group('ID1'), m.group('ID2')) self.logDebug("File id is [%s]" % self.file_id) @@ -59,7 +59,7 @@ class BitshareCom(SimpleHoster): self.retry() # File name - m = re.match(self.__pattern__, pyfile.url) + m = re.match(self.__pattern, pyfile.url) name1 = m.group('NAME') if m else None m = re.search(self.INFO_PATTERN, self.html) -- cgit v1.2.3