diff options
author | 2015-12-14 16:47:49 +0100 | |
---|---|---|
committer | 2015-12-27 21:22:11 +0100 | |
commit | 8fe2fa85605c091369c8e69b36d1cded2cd9bbe0 (patch) | |
tree | a0d5745b1168fe887568fc6af1004c19ce44f4b6 /module/plugins/hoster/VkCom.py | |
parent | [ExternalScripts] Update and fix (diff) | |
download | pyload-8fe2fa85605c091369c8e69b36d1cded2cd9bbe0.tar.xz |
Update hosters (1)
Diffstat (limited to 'module/plugins/hoster/VkCom.py')
-rw-r--r-- | module/plugins/hoster/VkCom.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/module/plugins/hoster/VkCom.py b/module/plugins/hoster/VkCom.py index 858c0111c..58d465722 100644 --- a/module/plugins/hoster/VkCom.py +++ b/module/plugins/hoster/VkCom.py @@ -5,13 +5,13 @@ import re -from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo +from module.plugins.internal.SimpleHoster import SimpleHoster class VkCom(SimpleHoster): __name__ = "VkCom" __type__ = "hoster" - __version__ = "0.04" + __version__ = "0.05" __status__ = "testing" __pattern__ = r"https?://(?:www\.)?vk\.com/video_ext\.php/\?.+" @@ -33,7 +33,4 @@ class VkCom(SimpleHoster): def handle_free(self, pyfile): - self.link = re.findall(self.LINK_FREE_PATTERN, self.data)[0 if self.get_config('quality') == "Low" else -1] - - -getInfo = create_getInfo(VkCom) + self.link = re.findall(self.LINK_FREE_PATTERN, self.data)[0 if self.config.get('quality') == "Low" else -1] |