diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-22 16:45:04 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-22 16:45:04 +0100 |
commit | 854efeb463bd98cb8e22f1f78f5ce97e6c0ab49f (patch) | |
tree | 3128578d89f36fed0aa5ab7b3ede6311751dd7f8 /module/plugins/hoster/VimeoCom.py | |
parent | [UlozTo] Fix TRAFFIC_LEFT_PATTERN (diff) | |
download | pyload-854efeb463bd98cb8e22f1f78f5ce97e6c0ab49f.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/VimeoCom.py')
-rw-r--r-- | module/plugins/hoster/VimeoCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/VimeoCom.py b/module/plugins/hoster/VimeoCom.py index 9e4abf702..0e42c1674 100644 --- a/module/plugins/hoster/VimeoCom.py +++ b/module/plugins/hoster/VimeoCom.py @@ -41,7 +41,7 @@ class VimeoCom(SimpleHoster): html = self.js.eval(self.load(self.pyfile.url, get={'action': "download", 'password': password}, decode=True)) pattern = r'href="(?P<URL>http://vimeo\.com.+?)".*?\>(?P<QL>.+?) ' else: - id = re.match(self.__pattern__, self.pyfile.url).group("ID") + id = re.match(self.__pattern__, self.pyfile.url).group('ID') html = self.load("https://player.vimeo.com/video/" + id, get={'password': password}) pattern = r'"(?P<QL>\w+)":{"profile".*?"(?P<URL>http://pdl\.vimeocdn\.com.+?)"' |