summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-08 23:22:30 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-08 23:22:30 +0100
commit8d9a3826facc7f828265d5dbd036db863bfb4fc2 (patch)
treebaf7e0034ac5278f2370d615a0d41da94affd676 /module/plugins/hoster
parentpy 2.5 compability (diff)
downloadpyload-8d9a3826facc7f828265d5dbd036db863bfb4fc2.tar.xz
encoding fix
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/FileserveCom.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/FileserveCom.py b/module/plugins/hoster/FileserveCom.py
index 845e06de4..36d4b2f59 100644
--- a/module/plugins/hoster/FileserveCom.py
+++ b/module/plugins/hoster/FileserveCom.py
@@ -51,7 +51,8 @@ class FileserveCom(Hoster):
self.multiDL = False
def process(self, pyfile):
- self.html = self.load(self.pyfile.url, ref=False, cookies=False if self.account else True)
+ self.html = self.load(self.pyfile.url, ref=False, cookies=False if self.account else True, utf8=True)
+
if re.search(r'<h1>File not available</h1>', self.html) is not None:
self.offline()