summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2011-10-10 07:44:57 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2011-10-10 07:44:57 +0200
commit07fcba33fbf6ed3f80912a08bfb8ac94e6eb7d3d (patch)
treee6ed7cf0f2ff0d71be1e26282210750a8f4a2ec7 /module/plugins
parentclosed #400 (diff)
downloadpyload-07fcba33fbf6ed3f80912a08bfb8ac94e6eb7d3d.tar.xz
fix mediafire.com plugin
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/MediafireCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/MediafireCom.py b/module/plugins/hoster/MediafireCom.py
index 0bc0e504f..4681ebdc6 100644
--- a/module/plugins/hoster/MediafireCom.py
+++ b/module/plugins/hoster/MediafireCom.py
@@ -53,7 +53,7 @@ class MediafireCom(Hoster):
__name__ = "MediafireCom"
__type__ = "hoster"
__pattern__ = r"http://(?:\w*\.)*mediafire\.com/.*"
- __version__ = "0.5"
+ __version__ = "0.6"
__description__ = """Mediafire.com plugin - free only"""
__author_name__ = ("zoidberg")
__author_mail__ = ("zoidberg@mujmail.cz")
@@ -88,7 +88,7 @@ class MediafireCom(Hoster):
found = re.search(self.FILE_NAME_PATTERN, self.html)
if not found: self.fail("Parse error (file name)")
- pyfile.name = found.group(1)
+ pyfile.name = unicode(found.group(1), 'UTF-8')
found = re.search(self.FILE_SIZE_PATTERN, self.html)
if found: