summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-14 13:07:19 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-14 13:07:19 +0200
commit77ef3e137d2d9222d0f8965adf374e6712123a99 (patch)
tree86101e8fd3e0705d2cfde01ae0376e8587292686 /module/plugins/internal
parentNew crypter JunocloudMeFolder (diff)
downloadpyload-77ef3e137d2d9222d0f8965adf374e6712123a99.tar.xz
[XFSPHoster] TEXT_ENCODING support
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/XFSPHoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/XFSPHoster.py b/module/plugins/internal/XFSPHoster.py
index 40bf26cfa..e7348d966 100644
--- a/module/plugins/internal/XFSPHoster.py
+++ b/module/plugins/internal/XFSPHoster.py
@@ -16,7 +16,7 @@ from module.utils import html_unescape
class XFSPHoster(SimpleHoster):
__name__ = "XFSPHoster"
__type__ = "hoster"
- __version__ = "0.02"
+ __version__ = "0.03"
__pattern__ = None
@@ -90,7 +90,7 @@ class XFSPHoster(SimpleHoster):
# Due to a 0.4.9 core bug self.load would use cookies even if
# cookies=False. Workaround using getURL to avoid cookies.
# Can be reverted in 0.4.10 as the cookies bug has been fixed.
- self.html = getURL(pyfile.url, decode=True, cookies=self.COOKIES)
+ self.html = getURL(pyfile.url, decode=not self.TEXT_ENCODING, cookies=self.COOKIES)
self.file_info = self.getFileInfo()
except PluginParseError:
self.file_info = None