summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/BasePlugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/BasePlugin.py')
-rw-r--r--module/plugins/hoster/BasePlugin.py5
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: