diff options
| author | 2013-10-09 20:14:46 +0200 | |
|---|---|---|
| committer | 2013-10-09 20:14:46 +0200 | |
| commit | b1363d629fc18fa570295b3777e4f9ee1bed37e3 (patch) | |
| tree | 7f109a0755d88fb1f682494dccb61c6c4b057eff /module | |
| parent | New hoster: GooIm (diff) | |
| download | pyload-b1363d629fc18fa570295b3777e4f9ee1bed37e3.tar.xz | |
GooIm: multiple downloads, resume and unlimited chunks are allowed even in free mode
Diffstat (limited to 'module')
| -rw-r--r-- | module/plugins/hoster/GooIm.py | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/module/plugins/hoster/GooIm.py b/module/plugins/hoster/GooIm.py index 5a9d98396..f96e6e6cc 100644 --- a/module/plugins/hoster/GooIm.py +++ b/module/plugins/hoster/GooIm.py @@ -24,7 +24,7 @@ class GooIm(SimpleHoster):      __name__ = "GooIm"      __type__ = "hoster"      __pattern__ = r"http://(?:www\.)?goo\.im/.+" -    __version__ = "0.01" +    __version__ = "0.02"      __description__ = """Goo.im hoster plugin"""      __author_name__ = ("stickell")      __author_mail__ = ("l.stickell@yahoo.it") @@ -32,6 +32,10 @@ class GooIm(SimpleHoster):      FILE_NAME_PATTERN = r'<h3>Filename: (?P<N>.+)</h3>'      FILE_OFFLINE_PATTERN = r'The file you requested was not found' +    def setup(self): +        self.chunkLimit = -1 +        self.multiDL = self.resumeDownload = True +      def handleFree(self):          self.html = self.load(self.pyfile.url)          m = re.search(r'MD5sum: (?P<MD5>[0-9a-z]{32})</h3>', self.html) | 
