diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-14 01:53:24 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-14 01:56:18 +0100 |
commit | aeaa7bb2f6964fd0eadb447a58495f541557fe84 (patch) | |
tree | 4fd6fcb4bf5b239f0a3e9933a7988470942a4783 /pyload/plugins/internal/SimpleHoster.py | |
parent | [UlozTo] Fixed hoster and account (diff) | |
download | pyload-aeaa7bb2f6964fd0eadb447a58495f541557fe84.tar.xz |
[SimpleCrypter][SimpleHoster] Temp workaround
Diffstat (limited to 'pyload/plugins/internal/SimpleHoster.py')
-rw-r--r-- | pyload/plugins/internal/SimpleHoster.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pyload/plugins/internal/SimpleHoster.py b/pyload/plugins/internal/SimpleHoster.py index 5e34d694d..dd3afdefd 100644 --- a/pyload/plugins/internal/SimpleHoster.py +++ b/pyload/plugins/internal/SimpleHoster.py @@ -200,7 +200,7 @@ def timestamp(): class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "0.53" + __version__ = "0.54" __pattern__ = r'^unmatchable$' @@ -274,11 +274,8 @@ class SimpleHoster(Hoster): return direct_link else: self.logDebug(_("No direct download link found")) - self.html = None - self.info = {} - if self.html is None: - self.html = self.load(self.pyfile.url, decode=not self.TEXT_ENCODING, cookies=bool(self.COOKIES)) + self.html = self.load(self.pyfile.url, decode=not self.TEXT_ENCODING, cookies=bool(self.COOKIES)) if isinstance(self.TEXT_ENCODING, basestring): self.html = unicode(self.html, self.TEXT_ENCODING) @@ -296,7 +293,7 @@ class SimpleHoster(Hoster): else: premium_only = hasattr(self, 'PREMIUM_ONLY_PATTERN') and re.search(self.PREMIUM_ONLY_PATTERN, self.html) - if not premium_only and not self.info: #: Usually premium only pages doesn't show any file information + if not premium_only: #: Usually premium only pages doesn't show any file information self.getFileInfo() if self.premium and (not self.FORCE_CHECK_TRAFFIC or self.checkTrafficLeft()): |