diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-16 16:27:40 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-16 16:27:40 +0200 |
commit | 9dbcc48749f83d01e95538c8485fdffb2a47ea26 (patch) | |
tree | a66881b78a4fc10d1559ab9a11cf466469126d4d /module/plugins | |
parent | clsoed #352 (diff) | |
download | pyload-9dbcc48749f83d01e95538c8485fdffb2a47ea26.tar.xz |
started to integrate package generator
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/BasePlugin.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py index 4b55f0357..71c61942f 100644 --- a/module/plugins/hoster/BasePlugin.py +++ b/module/plugins/hoster/BasePlugin.py @@ -3,12 +3,13 @@ import re from module.plugins.Hoster import Hoster +from module.utils import html_unescape class BasePlugin(Hoster): __name__ = "BasePlugin" __type__ = "hoster" __pattern__ = r"^unmatchable$" - __version__ = "0.1" + __version__ = "0.11" __description__ = """Base Plugin when any other didnt fit""" __author_name__ = ("RaNaN") __author_mail__ = ("RaNaN@pyload.org") @@ -38,7 +39,7 @@ class BasePlugin(Hoster): # return if pyfile.url.startswith("http"): - pyfile.name = re.findall("([^/=]+)", pyfile.url)[-1] + pyfile.name = html_unescape(re.findall("([^/=]+)", pyfile.url)[-1]) self.download(pyfile.url, disposition=True) else: |