summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/NarodRu.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/NarodRu.py')
-rw-r--r--pyload/plugin/hoster/NarodRu.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/NarodRu.py b/pyload/plugin/hoster/NarodRu.py
index b68f219e2..6cd9d57cc 100644
--- a/pyload/plugin/hoster/NarodRu.py
+++ b/pyload/plugin/hoster/NarodRu.py
@@ -8,16 +8,16 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster
class NarodRu(SimpleHoster):
- __name = "NarodRu"
- __type = "hoster"
- __version = "0.12"
+ __name__ = "NarodRu"
+ __type__ = "hoster"
+ __version__ = "0.12"
- __pattern = r'http://(?:www\.)?narod(\.yandex)?\.ru/(disk|start/\d+\.\w+-narod\.yandex\.ru)/(?P<ID>\d+)/.+'
- __config = [("use_premium", "bool", "Use premium account if available", True)]
+ __pattern__ = r'http://(?:www\.)?narod(\.yandex)?\.ru/(disk|start/\d+\.\w+-narod\.yandex\.ru)/(?P<ID>\d+)/.+'
+ __config__ = [("use_premium", "bool", "Use premium account if available", True)]
- __description = """Narod.ru hoster plugin"""
- __license = "GPLv3"
- __authors = [("zoidberg", "zoidberg@mujmail.cz")]
+ __description__ = """Narod.ru hoster plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
NAME_PATTERN = r'<dt class="name">(?:<[^<]*>)*(?P<N>[^<]+)</dt>'