summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/FshareVn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 08:21:50 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 08:21:50 +0200
commit486adc1874e463b1563ad2394b216faff388b10d (patch)
tree58009056cb67e35930d49a9dd6af45adf6a8d434 /pyload/plugin/hoster/FshareVn.py
parentFix https://github.com/pyload/pyload/issues/1349 (diff)
downloadpyload-486adc1874e463b1563ad2394b216faff388b10d.tar.xz
Prepare plugins to merging from stable
Diffstat (limited to 'pyload/plugin/hoster/FshareVn.py')
-rw-r--r--pyload/plugin/hoster/FshareVn.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/FshareVn.py b/pyload/plugin/hoster/FshareVn.py
index 47348f753..73ce4e254 100644
--- a/pyload/plugin/hoster/FshareVn.py
+++ b/pyload/plugin/hoster/FshareVn.py
@@ -23,16 +23,16 @@ def doubleDecode(m):
class FshareVn(SimpleHoster):
- __name = "FshareVn"
- __type = "hoster"
- __version = "0.20"
+ __name__ = "FshareVn"
+ __type__ = "hoster"
+ __version__ = "0.20"
- __pattern = r'http://(?:www\.)?fshare\.vn/file/.+'
- __config = [("use_premium", "bool", "Use premium account if available", True)]
+ __pattern__ = r'http://(?:www\.)?fshare\.vn/file/.+'
+ __config__ = [("use_premium", "bool", "Use premium account if available", True)]
- __description = """FshareVn hoster plugin"""
- __license = "GPLv3"
- __authors = [("zoidberg", "zoidberg@mujmail.cz")]
+ __description__ = """FshareVn hoster plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
INFO_PATTERN = r'<p>(?P<N>[^<]+)<\\/p>[\\trn\s]*<p>(?P<S>[\d.,]+)\s*(?P<U>[\w^_]+)<\\/p>'