diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-20 03:28:23 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-20 03:28:23 +0200 |
commit | a9f81c043c62abcb3ce38971237693736833fdbe (patch) | |
tree | 5c602d2aa7aefb245c33ad9c51eec44ab861f983 /module/plugins/hoster/LoadTo.py | |
parent | [StreamCz] Parse https (diff) | |
download | pyload-a9f81c043c62abcb3ce38971237693736833fdbe.tar.xz |
Fix hosters SH_COOKIES syntax
Diffstat (limited to 'module/plugins/hoster/LoadTo.py')
-rw-r--r-- | module/plugins/hoster/LoadTo.py | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/module/plugins/hoster/LoadTo.py b/module/plugins/hoster/LoadTo.py index 780e42ac2..14c071cc4 100644 --- a/module/plugins/hoster/LoadTo.py +++ b/module/plugins/hoster/LoadTo.py @@ -26,9 +26,11 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class LoadTo(SimpleHoster): __name__ = "LoadTo" + __version__ = "0.15" __type__ = "hoster" + __pattern__ = r'http://(?:www\.)?load\.to/\w+' - __version__ = "0.15" + __description__ = """Load.to hoster plugin""" __author_name__ = ("halfman", "stickell") __author_mail__ = ("Pulpan3@gmail.com", "l.stickell@yahoo.it") @@ -46,14 +48,7 @@ class LoadTo(SimpleHoster): self.multiDL = True self.chunkLimit = 1 - def process(self, pyfile): - self.html = self.load(pyfile.url, decode=True) - self.getFileInfo() - - # Check if File is online - if re.search(self.OFFLINE_PATTERN, self.html): - self.offline() - + def handleFree(self): # Search for Download URL m = re.search(self.LINK_PATTERN, self.html) if m is None: |