diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-30 22:09:26 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-30 22:09:26 +0200 |
commit | 527692a7fff612168bbcb210a6fcc838137c479c (patch) | |
tree | 7d39a6d3a0ffe5292962b068996cf9375f88f2f9 | |
parent | Fix https://github.com/pyload/pyload/issues/1374 (diff) | |
download | pyload-527692a7fff612168bbcb210a6fcc838137c479c.tar.xz |
Fix https://github.com/pyload/pyload/issues/1373
-rw-r--r-- | module/plugins/crypter/Go4UpCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/crypter/Go4UpCom.py b/module/plugins/crypter/Go4UpCom.py index 39b85e09c..6e7d09466 100644 --- a/module/plugins/crypter/Go4UpCom.py +++ b/module/plugins/crypter/Go4UpCom.py @@ -10,7 +10,7 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo class Go4UpCom(SimpleCrypter): __name__ = "Go4UpCom" __type__ = "crypter" - __version__ = "0.11" + __version__ = "0.12" __pattern__ = r'http://go4up\.com/(dl/\w{12}|rd/\w{12}/\d+)' __config__ = [("use_premium" , "bool", "Use premium account if available" , True), @@ -30,10 +30,10 @@ class Go4UpCom(SimpleCrypter): OFFLINE_PATTERN = r'>\s*(404 Page Not Found|File not Found|Mirror does not exist)' - def getLinks(self + def getLinks(self): links = [] - m = re.search(r'(/download/gethosts/.+?)"') + m = re.search(r'(/download/gethosts/.+?)"', self.html) if m: self.html = self.load(urljoin("http://go4up.com/", m.group(1))) pages = [self.load(url) for url in re.findall(self.LINK_PATTERN, self.html)] |