summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-04 14:19:32 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-04 14:19:32 +0100
commit6412e51af626ee89ce6d9dac99a6c53e1878d142 (patch)
tree3e9d5e597817defa1da49b131c84ca5759a6c98f /module/plugins
parent[RestartFailed] Removed clutter message in normal mode (diff)
downloadpyload-6412e51af626ee89ce6d9dac99a6c53e1878d142.tar.xz
logDebug when detects ddl or multi hoster link
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/internal/SimpleHoster.py2
-rw-r--r--module/plugins/internal/XFSHoster.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index 3de49bef9..2b729dae4 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -269,10 +269,12 @@ class SimpleHoster(Hoster):
self.FILE_URL_REPLACEMENTS if hasattr(self, "FILE_URL_REPLACEMENTS") else self.URL_REPLACEMENTS) #@TODO: Remove FILE_URL_REPLACEMENTS check in 0.4.10
if self.premium:
+ self.logDebug(_("Checking for direct download link..."))
direct_link = self.getDirectLink(self.pyfile.url)
if direct_link:
return direct_link
else:
+ self.logDebug(_("No direct download link found"))
self.html = None
self.info = {}
diff --git a/module/plugins/internal/XFSHoster.py b/module/plugins/internal/XFSHoster.py
index 008cfb3e1..12ac4845d 100644
--- a/module/plugins/internal/XFSHoster.py
+++ b/module/plugins/internal/XFSHoster.py
@@ -75,6 +75,7 @@ class XFSHoster(SimpleHoster):
# MultiHoster check
if self.__pattern__ != self.core.pluginManager.hosterPlugins[self.__name__]['pattern']:
+ self.logInfo(_("Multi hoster detected"))
if self.premium:
self.handleOverriden()
else: