diff options
author | Gonzalo SR <gonzalo@gonzalosr.com> | 2013-02-15 14:41:18 +0100 |
---|---|---|
committer | Gonzalo SR <gonzalo@gonzalosr.com> | 2013-02-15 14:41:18 +0100 |
commit | e683032462968951200be26d0e92883ee1086e92 (patch) | |
tree | 456ba9e85d006251f6f8e9eaf88d971f7a28d1b2 /module/plugins/hoster | |
parent | bump version number for MegaNz (diff) | |
download | pyload-e683032462968951200be26d0e92883ee1086e92.tar.xz |
New regex to fix broken plugin
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/PutlockerCom.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/plugins/hoster/PutlockerCom.py b/module/plugins/hoster/PutlockerCom.py index 8cfcd4d9e..8782a36e6 100644 --- a/module/plugins/hoster/PutlockerCom.py +++ b/module/plugins/hoster/PutlockerCom.py @@ -111,6 +111,9 @@ class PutlockerCom(Hoster): self.link = re.search("\"(/get_file\\.php\\?download=[A-Z0-9]+\\&key=[a-z0-9]+&original=1)\"", self.html2) if self.link is None: + self.link = re.search("\"(/get_file\\.php\\?id=[A-Z0-9]+\\&key=[A-Za-z0-9]+\\&original=1)\"", self.html2) + + if self.link is None: self.link = re.search("playlist: \\'(/get_file\\.php\\?stream=[A-Za-z0-9=]+)\\'", self.html2) if not self.link is None: self.html3 = self.load("http://www.putlocker.com" + self.link.group(1)) |