diff options
author | Gonzalo SR <gonzalo@gonzalosr.com> | 2013-02-15 17:25:49 +0100 |
---|---|---|
committer | Gonzalo SR <gonzalo@gonzalosr.com> | 2013-02-15 17:25:49 +0100 |
commit | 1eca9a59787c4c9cb7de0652b32dd4f161d91090 (patch) | |
tree | a6f08b360af000558878f849ba951aaae9371dff | |
parent | New regex to fix broken plugin (diff) | |
download | pyload-1eca9a59787c4c9cb7de0652b32dd4f161d91090.tar.xz |
New regex to fix broken Putlocker plugin
Bumped version number
Also added padding character to regexp
-rw-r--r-- | module/plugins/hoster/PutlockerCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/PutlockerCom.py b/module/plugins/hoster/PutlockerCom.py index 8782a36e6..ca5336231 100644 --- a/module/plugins/hoster/PutlockerCom.py +++ b/module/plugins/hoster/PutlockerCom.py @@ -52,7 +52,7 @@ class PutlockerCom(Hoster): __name__ = "PutlockerCom" __type__ = "hoster" __pattern__ = r'http://(www\.)?putlocker\.com/(file|embed)/[A-Z0-9]+' - __version__ = "0.2" + __version__ = "0.21" __description__ = """Putlocker.Com""" __author_name__ = ("jeix") @@ -111,7 +111,7 @@ 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) + 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) |