summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/UploadableCh.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 12:44:15 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 12:44:15 +0100
commitce103ce1e60661f7bcdf6a033335134de61d48b1 (patch)
tree29b9421062cc8341dc10b6ca65e9a64802c3db71 /pyload/plugin/hoster/UploadableCh.py
parent.min.css -> .css (diff)
downloadpyload-ce103ce1e60661f7bcdf6a033335134de61d48b1.tar.xz
Prepare to merging
Diffstat (limited to 'pyload/plugin/hoster/UploadableCh.py')
-rw-r--r--pyload/plugin/hoster/UploadableCh.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/UploadableCh.py b/pyload/plugin/hoster/UploadableCh.py
index 54f80f8a2..c54ecb495 100644
--- a/pyload/plugin/hoster/UploadableCh.py
+++ b/pyload/plugin/hoster/UploadableCh.py
@@ -9,19 +9,19 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster
class UploadableCh(SimpleHoster):
- __name = "UploadableCh"
- __type = "hoster"
- __version = "0.08"
+ __name__ = "UploadableCh"
+ __type__ = "hoster"
+ __version__ = "0.08"
- __pattern = r'http://(?:www\.)?uploadable\.ch/file/(?P<ID>\w+)'
+ __pattern__ = r'http://(?:www\.)?uploadable\.ch/file/(?P<ID>\w+)'
- __description = """Uploadable.ch hoster plugin"""
- __license = "GPLv3"
- __authors = [("zapp-brannigan", "fuerst.reinje@web.de"),
+ __description__ = """Uploadable.ch hoster plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("zapp-brannigan", "fuerst.reinje@web.de"),
("Walter Purcaro", "vuolter@gmail.com")]
- URL_REPLACEMENTS = [(__pattern + ".*", r'http://www.uploadable.ch/file/\g<ID>')]
+ URL_REPLACEMENTS = [(__pattern__ + ".*", r'http://www.uploadable.ch/file/\g<ID>')]
INFO_PATTERN = r'div id=\"file_name\" title=.*>(?P<N>.+)<span class=\"filename_normal\">\((?P<S>[\d.]+) (?P<U>\w+)\)</span><'