diff options
| author | 2014-12-01 18:17:13 +0100 | |
|---|---|---|
| committer | 2014-12-01 18:23:47 +0100 | |
| commit | 86d3b6249073947132ed3a9eeb1b1e987d19569a (patch) | |
| tree | 8ad8ef328f38866c00acb394e00fd11bdc9b6c04 /module/plugins/hoster/WebshareCz.py | |
| parent | [SimpleHoster] Fix some stuff, improve others (diff) | |
| download | pyload-86d3b6249073947132ed3a9eeb1b1e987d19569a.tar.xz | |
Update some plugins
Diffstat (limited to 'module/plugins/hoster/WebshareCz.py')
| -rw-r--r-- | module/plugins/hoster/WebshareCz.py | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/module/plugins/hoster/WebshareCz.py b/module/plugins/hoster/WebshareCz.py index cd43de2bb..17aaff37c 100644 --- a/module/plugins/hoster/WebshareCz.py +++ b/module/plugins/hoster/WebshareCz.py @@ -35,13 +35,14 @@ class WebshareCz(SimpleHoster):      def handleFree(self):          api_data = self.load('https://webshare.cz/api/file_link/', post={'ident': self.fid}) +          self.logDebug("API data: " + api_data) +          m = re.search('<link>(.+)</link>', api_data)          if m is None:              self.error(_("Unable to detect direct link")) -        direct = m.group(1) -        self.logDebug("Direct link: " + direct) -        self.download(direct, disposition=True) + +        self.download(m.group(1), disposition=True)      def getFileInfo(self): | 
