diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-02-08 02:09:45 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-02-08 02:15:53 +0100 |
commit | b25bc61dd47d8d3c42969bd0f72443b21c4b059e (patch) | |
tree | 6115841c9763289bd400c6171508f397d3526bf5 /module/plugins/hoster/OverLoadMe.py | |
parent | [ZippyshareCom] Typo (diff) | |
download | pyload-b25bc61dd47d8d3c42969bd0f72443b21c4b059e.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/OverLoadMe.py')
-rw-r--r-- | module/plugins/hoster/OverLoadMe.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/module/plugins/hoster/OverLoadMe.py b/module/plugins/hoster/OverLoadMe.py index d4f4c0135..67563ca3d 100644 --- a/module/plugins/hoster/OverLoadMe.py +++ b/module/plugins/hoster/OverLoadMe.py @@ -46,6 +46,7 @@ class OverLoadMe(MultiHoster): 'link': pyfile.url}) data = json_loads(page) + self.logDebug(data) if data['error'] == 1: @@ -59,9 +60,6 @@ class OverLoadMe(MultiHoster): http_repl = ["http://", "https://"] self.link = data['downloadlink'].replace(*http_repl if self.getConfig("ssl") else *http_repl[::-1]) - if self.link != pyfile.url: - self.logDebug("New URL: %s" % self.link) - if pyfile.name.startswith("http") or pyfile.name.startswith("Unknown") or pyfile.name.endswith('..'): # only use when name wasn't already set pyfile.name = self.getFilename(self.link) |